mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-31 06:16:33 -04:00
Lay groundwork for NT/UNIX-like sync interoperability
This commit is contained in:
+1
-3
@@ -6,7 +6,6 @@ import (
|
||||
"github.com/rwinkhart/MUTN/src/cli"
|
||||
"github.com/rwinkhart/MUTN/src/sync"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -19,8 +18,7 @@ func main() {
|
||||
switch args[1] {
|
||||
case "fetch":
|
||||
// print all information needed for syncing to stdout for interpretation by the client
|
||||
clientIsWindows, _ := strconv.ParseBool(args[3])
|
||||
sync.GetRemoteDataFromServer(args[2], clientIsWindows)
|
||||
sync.GetRemoteDataFromServer(args[2])
|
||||
case "shear":
|
||||
// shear an entry from the server and add it to the deletions directory
|
||||
deviceIDTargetLocation := strings.Split(args[2], "\x1d")
|
||||
|
||||
Reference in New Issue
Block a user