Skip to content

Commit

Permalink
Update IndexReadService.cs
Browse files Browse the repository at this point in the history
testing direct dir delete
  • Loading branch information
shukriadams authored Aug 13, 2024
1 parent 97dd9aa commit 6ed0cdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Tetrifact.Core/IndexReadService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ void IIndexReadService.DeletePackage(string packageId)
// delete package folder
string packageFolder = Path.Combine(_settings.PackagePath, packageId);
if (_fileSystem.Directory.Exists(packageFolder))
_fileSystem.Directory.Delete(packageFolder, true);
Directory.Delete(packageFolder, true);
//_fileSystem.Directory.Delete(packageFolder, true);

// delete archives for package
string archivePath = Path.Combine(_settings.ArchivePath, $"{packageId}.zip");
Expand Down

0 comments on commit 6ed0cdb

Please sign in to comment.