Implement crypt for encrypted remotes - #219

This commit is contained in:
Nick Craig-Wood
2016-08-23 17:45:37 +01:00
parent b4b4b6cb1c
commit 226c2a0d83
10 changed files with 2333 additions and 5 deletions
+3 -1
View File
@@ -61,7 +61,8 @@ import (
"github.com/ncw/rclone/fs"
"github.com/ncw/rclone/fstest/fstests"
"github.com/ncw/rclone/{{ .FsName }}"
)
{{ if eq .FsName "crypt" }} _ "github.com/ncw/rclone/local"
{{end}})
func init() {
fstests.NilObject = fs.Object((*{{ .FsName }}.Object)(nil))
@@ -135,5 +136,6 @@ func main() {
generateTestProgram(t, fns, "Hubic")
generateTestProgram(t, fns, "B2")
generateTestProgram(t, fns, "Yandex")
generateTestProgram(t, fns, "Crypt")
log.Printf("Done")
}