0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

add compression and encryption

This commit is contained in:
Zack Scholl 2019-04-10 11:26:10 -07:00
parent 8b97306617
commit 8fd312d876
13 changed files with 59 additions and 77 deletions

View file

@ -21,7 +21,7 @@ func main() {
// if err != nil {
// break
// }
// fmt.Println(bytes.Equal(buffer[:bytesread], emptyBuffer[:bytesread]))
// log.Debugln(bytes.Equal(buffer[:bytesread], emptyBuffer[:bytesread]))
// }
var sender bool
flag.BoolVar(&sender, "sender", false, "sender")
@ -35,7 +35,8 @@ func main() {
// PathToFile: "../wskeystore/README.md",
// PathToFile: "./src/croc/croc.go",
// PathToFiles: []string{"C:\\Users\\zacks\\go\\src\\github.com\\schollz\\croc\\src\\croc\\croc.go", "croc.exe"},
PathToFiles: []string{"croc2.exe", "croc3.exe"},
// PathToFiles: []string{"croc2.exe"}, //,"croc2.exe", "croc3.exe"},
PathToFiles: []string{"README.md"}, //,"croc2.exe", "croc3.exe"},
KeepPathInRemote: false,
})
} else {