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
@@ -646,6 +646,7 @@ func (f *folder) scanSubdirsChangedAndNew(subDirs []string, batch *scanBatch) (i
LocalFlags: f.localFlags,
ModTimeWindow: f.modTimeWindow,
EventLogger: f.evLogger,
ScanOwnership: f.ScanOwnership || f.SyncOwnership,
}
var fchan chan scanner.ScanResult
if f.Type == config.FolderTypeReceiveEncrypted {