Parse deletions per-deviceID

This commit is contained in:
2024-05-16 17:46:03 -04:00
parent f18a023bb7
commit ddb2f257f3
+1 -1
View File
@@ -18,7 +18,7 @@ func main() {
switch args[1] { switch args[1] {
case "fetch": case "fetch":
// print all information needed for syncing to stdout for interpretation by the client // print all information needed for syncing to stdout for interpretation by the client
sync.GetRemoteDataFromServer() sync.GetRemoteDataFromServer(args[2])
case "shear": case "shear":
// shear an entry from the server and add it to the deletions directory // shear an entry from the server and add it to the deletions directory
deviceIDTargetLocation := strings.Split(args[2], "\x1d") deviceIDTargetLocation := strings.Split(args[2], "\x1d")