mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
4b3f9b1af9
* lib/versioner: Add placeholder to provide the absolute file path to external commands This commit adds support for a new placeholder, %FILE_PATH_FULL%, to the command of the external versioner. The placeholder will be replaced by the absolute path of the file that should be deleted. * Revert "lib/versioner: Add placeholder to provide the absolute file path to external commands" This reverts commit fb48962b947358e90a76e87a7794adb6057de476. * lib/versioner: Replace all placeholders in external command (fixes #5849) Before this commit, only these placeholders were replaced that span a whole word, for example "%FOLDER_PATH%". Words that consisted of more than one placeholder or additional characters, for example "%FOLDER_PATH%/%FILE_PATH%", were left untouched. * fixup! lib/versioner: Replace all placeholders in external command (fixes #5849) |
||
---|---|---|
.. | ||
_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 |