add kcp
This commit is contained in:
@@ -32,6 +32,12 @@ namespace BITKit
|
||||
|
||||
return GetPath(paths);
|
||||
}
|
||||
public static void EnsureDirectoryCreated(string path)
|
||||
{
|
||||
path = Path.GetDirectoryName(path);
|
||||
if (Directory.Exists(path) is true) return;
|
||||
if (path != null) Directory.CreateDirectory(path);
|
||||
}
|
||||
|
||||
public static string GetFilePath(params string[] paths)
|
||||
{
|
||||
|
Reference in New Issue
Block a user