This commit is contained in:
Liang Ding 2023-01-09 17:39:02 +08:00
parent e8012158ea
commit 58975bf4ea
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -117,13 +117,12 @@ func CeilBlockCount(count int) int {
}
func GetNotExistPaths(boxID string, paths []string) (ret []string) {
tmp := blockTrees
pathsMap := map[string]bool{}
for _, path := range paths {
pathsMap[path] = true
}
tmp := blockTrees
for _, blockTree := range tmp {
if blockTree.BoxID != boxID {
continue