Skip to content

Commit

Permalink
Merge branch 'sprint-july-1' into fix/get-list-from-blobbers
Browse files Browse the repository at this point in the history
  • Loading branch information
din-mukhammed authored Jul 8, 2023
2 parents 5bd0136 + bbeea52 commit 20a2931
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zboxcore/sdk/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@ func addLocalFileList(root string, fMap map[string]FileInfo, dirList *[]string,
lPath = "/" + lPath
// Exclude
if _, ok := exclMap[lPath]; ok {
return nil
if info.IsDir() {
return filepath.SkipDir
} else {
return nil
}
}
// Add to list
if info.IsDir() {
Expand Down

0 comments on commit 20a2931

Please sign in to comment.