fix: virtual obj is a folder

refactor/fs
Noah Hsu 2022-07-19 18:10:02 +08:00
parent 638db77ca1
commit 872e7cf87b
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ func GetStorageVirtualFilesByPath(prefix string) []model.Obj {
Name: name,
Size: 0,
Modified: v.GetStorage().Modified,
IsFolder: true,
})
set[name] = nil
}