Merge pull request #1002 from AudriusButkevicius/routine-cfg

Make copiers, pullers and finishers configurable
This commit is contained in:
Jakob Borg
2014-11-23 11:29:58 +01:00
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()