cmd/ursrv, lib/ur: Collect and present encryption usage (#7448)

This commit is contained in:
Simon Frei
2021-03-10 22:26:56 +00:00
committed by GitHub
parent 5548a8eb7a
commit 9a001051d6
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -267,6 +267,9 @@ func (s *Service) reportData(ctx context.Context, urVersion int, preview bool) (
if cfg.CaseSensitiveFS {
report.FolderUsesV3.CaseSensitiveFS++
}
if cfg.Type == config.FolderTypeReceiveEncrypted {
report.FolderUsesV3.ReceiveEncrypted++
}
}
sort.Ints(report.FolderUsesV3.FsWatcherDelays)