1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2024-11-23 19:42:51 +01:00
Minecraft-Phantom-Panel/Utils/Phantom.Utils/IO/Directories.cs

13 lines
264 B
C#

namespace Phantom.Utils.IO;
public static class Directories {
public static void Create(string path, UnixFileMode mode) {
if (OperatingSystem.IsWindows()) {
Directory.CreateDirectory(path);
}
else {
Directory.CreateDirectory(path, mode);
}
}
}