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