lib/config: Decouple VerifyConfiguration from Committer (#7939)

... and remove 8/10 implementations, which were no-ops. This saves code
and time copying configurations.
This commit is contained in:
greatroar
2021-11-22 08:45:29 +01:00
committed by GitHub
parent e2288fe441
commit bf89bffb0b
11 changed files with 20 additions and 40 deletions
+2
View File
@@ -168,6 +168,8 @@ type model struct {
foldersRunning int32
}
var _ config.Verifier = &model{}
type folderFactory func(*model, *db.FileSet, *ignore.Matcher, config.FolderConfiguration, versioner.Versioner, events.Logger, *util.Semaphore) service
var (