19 string text = text2.Replace(
"\\*",
".*").Replace(
"\\?",
".");
20 return "^" +
text +
"$";
27 return text.Replace(
"//",
"/").Replace(
"/",
"//");
50 public static bool Exists(
string path,
bool cloud =
false)
57 public static void Delete(
string path,
bool cloud =
false)
128 public static void WriteAllBytes(
string path,
byte[] data,
bool cloud =
false)
136 public static void Write(
string path,
byte[] data,
int length,
bool cloud)
186 if (
match ==
null || group ==
null)
209 if (
match !=
null && group !=
null)
class f__AnonymousType0<< Count > j__TPar
static void CreateDirectory(string path)
static void SetAttributes(string path, FileAttributes fileAttributes)
static void Copy(string source, string destination, bool cloud=false, bool overwrite=true)
static bool MoveToCloud(string localPath, string cloudPath)
static string WildcardToRegex(string pattern)
static string[] GetFiles(string path, string searchPattern)
static string GetFileName(string path, bool includeExtension=true)
static string ReadAllText(string path)
static void Write(string path, byte[] data, int length, bool cloud)
static void Delete(string path, bool cloud=false)
static byte[] ReadAllBytes(string path, bool cloud=false)
static string GetParentFolderPath(string path, bool includeExtension=true)
static string CleanSwitchPath(string path)
static void WriteAllBytes(string path, byte[] data, bool cloud=false)
static void SetAttributes(string path, FileAttributes fileAttributes)
static void CreateDirectory(string path)
static string GetFullPath(string path, bool cloud)
static void WriteAllText(string path, string data)
static Regex FileNameRegex
static void Move(string source, string destination, bool cloud, bool overwrite=true)
static bool MoveToLocal(string cloudPath, string localPath)
static bool Exists(string path, bool cloud=false)