mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Update CreateDirectory
This commit is contained in:
@@ -45,10 +45,13 @@ namespace SqlSugar
|
|||||||
public static void CreateDirectory(string directoryPath)
|
public static void CreateDirectory(string directoryPath)
|
||||||
{
|
{
|
||||||
if (!IsExistDirectory(directoryPath))
|
if (!IsExistDirectory(directoryPath))
|
||||||
|
{
|
||||||
|
if (directoryPath != "")
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(directoryPath);
|
Directory.CreateDirectory(directoryPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
public static void DeleteFile(string filePath)
|
public static void DeleteFile(string filePath)
|
||||||
{
|
{
|
||||||
if (IsExistFile(filePath))
|
if (IsExistFile(filePath))
|
||||||
|
Reference in New Issue
Block a user