syncthing/lib/versioner
André Colomb a8cacdca94
lib/versioner: Minor fixes in comments and error message (#9031)
* lib/versioner: Factor out DefaultPath constant.

Replace several instances where .stversions is named literally to all
use the same definition in the versioner package.  Exceptions are the
packages where a cyclic dependency on versioner is impossible, or some
tests which combine the versions base path with other components.

* lib/versioner: Fix comment about trash can in simple versioner.

* lib/versioner: Fix wrong versioning type string in error message.

The error message shows the folder type instead of the versioning
type, although the correct field is used in the comparison.
2023-08-09 07:10:06 +00:00
..
_external_test lib/versioner: Test both spaces and parens in ext versioner paths 2016-09-18 12:24:55 +00:00
.gitignore mv internal lib 2015-08-09 09:35:26 +02:00
debug.go all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
empty_dir_tracker_test.go build: Update quic-go for Go 1.19 (#8483) 2022-08-03 15:43:26 +02:00
empty_dir_tracker.go all: replace empty slice literal with var (#8990) 2023-07-18 14:44:37 +00:00
external_test.go all: Add build constants for runtime.GOOS comparisons (#8442) 2022-07-28 19:36:39 +02:00
external.go all: replace empty slice literal with var (#8990) 2023-07-18 14:44:37 +00:00
simple_test.go lib/versioner: Minor fixes in comments and error message (#9031) 2023-08-09 07:10:06 +00:00
simple.go lib/versioner: Minor fixes in comments and error message (#9031) 2023-08-09 07:10:06 +00:00
staggered_test.go all: use T.TempDir to create temporary test directory (#8280) 2022-04-15 07:44:06 +04:00
staggered.go lib/versioner: Fix cleaning behaviour (fixes #7988) (#8537) 2022-09-13 19:21:42 +02:00
trashcan_test.go all: Minor staticcheck fixes (#8939) 2023-06-19 06:50:53 +00:00
trashcan.go lib/versioner: Fix error in Trashcan restore (fixes: #7965) (#8549) 2022-09-20 11:34:15 +02:00
util.go lib/versioner: Minor fixes in comments and error message (#9031) 2023-08-09 07:10:06 +00:00
versioner.go lib/versioner: Minor fixes in comments and error message (#9031) 2023-08-09 07:10:06 +00:00