mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 11:28:59 +00:00
da34f27546
This deprecates the current minDiskFreePct setting and introduces minDiskFree. The latter is, in it's serialized form, a string with a unit. We accept percentages ("2.35%") and absolute values ("250 k", "12.5 Gi"). Common suffixes are understood. The config editor lets the user enter the string, and validates it. We still default to "1 %", but the user can change that to an absolute value at will. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4087 LGTM: AudriusButkevicius, imsodin |
||
---|---|---|
.. | ||
testdata | ||
commit_test.go | ||
config_test.go | ||
config.go | ||
debug.go | ||
deviceconfiguration.go | ||
folderconfiguration.go | ||
foldertype.go | ||
guiconfiguration.go | ||
optionsconfiguration.go | ||
pullorder.go | ||
size_test.go | ||
size.go | ||
versioningconfiguration.go | ||
wrapper.go |