Cleanup and tests fixup
This commit is contained in:
parent
154b30c3fd
commit
6ebf5d6254
6 changed files with 88 additions and 188 deletions
|
|
@ -97,6 +97,8 @@ namespace API.Services
|
|||
/// <param name="directoryPath"></param>
|
||||
public static void ClearAndDeleteDirectory(string directoryPath)
|
||||
{
|
||||
if (!Directory.Exists(directoryPath)) return;
|
||||
|
||||
DirectoryInfo di = new DirectoryInfo(directoryPath);
|
||||
|
||||
ClearDirectory(directoryPath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue