Adding creation of data into data handler, marking the way for szdb handling
This commit is contained in:
@@ -43,4 +43,18 @@ public class DefaultLocalFileManager : ISzFileManager
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public bool DeleteFile(string path)
|
||||
{
|
||||
try
|
||||
{
|
||||
File.Delete(path);
|
||||
return true;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
SZ.Logger.LogError("LocalFileManager: Could not delete file. " + e.Message);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user