*
This commit is contained in:
1 parent
680cc61869
commit
44d59806ee
3 files changed
+11
-6
No files matched your search
@@ -40,4 +40,9 @@ public static class FileUtils {
|
||||
/// </summary>
|
||||
public static void Delete(string filePath) => File.Delete(PathUtils.ToLongPath(filePath));
|
||||
|
||||
/// <summary>
|
||||
/// 确定指定的文件是否存在。
|
||||
/// </summary>
|
||||
public static bool Exists(string filePath) => File.Exists(PathUtils.ToLongPath(filePath));
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user