diff options
author | Jakob Unterwurzacher | 2015-09-06 12:12:14 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-09-06 12:12:14 +0200 |
commit | f2e2b813611a57192960e87df90ceed73d8e47d9 (patch) | |
tree | 7941a67ce030a63e12b08a825cb4908ebf6a1a91 /main.go | |
parent | 0a35d0970e86efbc5ed494395de7b448d3e337d0 (diff) |
Add README.md
Also, run go fmt
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -1,24 +1,23 @@ package main import ( - "path/filepath" + "bazil.org/fuse" + fusefs "bazil.org/fuse/fs" "flag" - "os" "fmt" "github.com/rfjakob/gocryptfs/frontend" - "bazil.org/fuse" - fusefs "bazil.org/fuse/fs" - + "os" + "path/filepath" ) const ( PROGRAM_NAME = "gocryptfs" - USE_OPENSSL = true + USE_OPENSSL = true - ERREXIT_USAGE = 1 - ERREXIT_NEWFS = 2 - ERREXIT_MOUNT = 3 - ERREXIT_SERVE = 4 + ERREXIT_USAGE = 1 + ERREXIT_NEWFS = 2 + ERREXIT_MOUNT = 3 + ERREXIT_SERVE = 4 ERREXIT_MOUNT2 = 5 ) @@ -48,7 +47,7 @@ func main() { fuse.Subtype(PROGRAM_NAME), fuse.VolumeName(PROGRAM_NAME), fuse.LocalVolume(), - fuse.MaxReadahead(1024*1024), + fuse.MaxReadahead(1024 * 1024), } conn, err := fuse.Mount(mountpoint, mountOpts...) if err != nil { |