all: Make scanning ownership opt-in (#8497)

This commit is contained in:
Jakob Borg
2022-08-12 07:47:20 +02:00
committed by GitHub
parent 4d4bfe8032
commit 06273875ae
7 changed files with 185 additions and 141 deletions
+1
View File
@@ -625,6 +625,7 @@ func walkDir(fs fs.Filesystem, dir string, cfiler CurrentFiler, matcher *ignore.
cfg.CurrentFiler = cfiler
cfg.Matcher = matcher
cfg.LocalFlags = localFlags
cfg.ScanOwnership = true
fchan := Walk(context.TODO(), cfg)
var tmp []protocol.FileInfo