Implemented the ability to flatten directories, esp useful with nested folders in archives.

This commit is contained in:
Joseph Milazzo 2021-01-14 10:02:56 -06:00
parent 56e8a0059e
commit 7f404a0ce9
7 changed files with 91 additions and 22 deletions

View file

@ -42,7 +42,7 @@ namespace API.Services
foreach (var file in volume.Files)
{
var extractPath = GetVolumeCachePath(volumeId, file);
_directoryService.ExtractArchive(file.FilePath, extractPath);
}