mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-24 04:42:56 +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);
|
|
}
|
|
}
|
|
}
|