Make copiers, pullers and finishers configurable

Compliments #999
This commit is contained in:
Audrius Butkevicius
2014-11-23 00:02:09 +00:00
parent ba019efaf1
commit 4427149a38
3 changed files with 18 additions and 15 deletions

View File

@@ -178,6 +178,9 @@ func (m *Model) StartFolderRW(folder string) {
model: m,
ignorePerms: cfg.IgnorePerms,
lenientMtimes: cfg.LenientMtimes,
copiers: cfg.Copiers,
pullers: cfg.Pullers,
finishers: cfg.Finishers,
}
m.folderRunners[folder] = p
m.fmut.Unlock()