lib/versioner: Test for external versioner

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3609
This commit is contained in:
Jakob Borg
2016-09-17 20:34:50 +00:00
parent 70c5a5dff1
commit 90c0a39df8
3 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
set FOLDER_PATH=%~1
set FILE_PATH=%~2
echo "1--%FOLDER_PATH%--"
echo "2--%FILE_PATH%--"
del "%FOLDER_PATH%\%FILE_PATH%"

View File

@@ -0,0 +1,5 @@
#!/bin/sh
echo "1--$1--"
echo "2--$2--"
rm -f "$1/$2"