mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
4e151d380c
* lib/versioner: Reduce surface area This is a refactor while I was anyway rooting around in the versioner. Instead of exporting every possible implementation and the factory and letting the caller do whatever, this now encapsulates all that and exposes a New() that takes a config.VersioningConfiguration. Given that and that we don't know (from the outside) how a versioner works or what state it keeps, we now just construct it once per folder and keep it around. Previously it was recreated for each restore request. * unparam * wip |
||
---|---|---|
.. | ||
_external_test | ||
.gitignore | ||
debug.go | ||
empty_dir_tracker_test.go | ||
empty_dir_tracker.go | ||
external_test.go | ||
external.go | ||
simple_test.go | ||
simple.go | ||
staggered_test.go | ||
staggered.go | ||
trashcan_test.go | ||
trashcan.go | ||
util.go | ||
versioner.go |