mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-23 19:42:51 +01:00
13 lines
264 B
C#
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);
|
|
}
|
|
}
|
|
}
|