diff options
author | Jakob Unterwurzacher | 2016-02-06 20:23:36 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-02-06 20:23:36 +0100 |
commit | c74772bc8d7348ced429e5ca6ef47a53a8f215ff (patch) | |
tree | 5ac2097e050a09c02b4ed30b85f3f7774d03c9ad /internal/fusefrontend | |
parent | b0ee5258b1ac60b9a672d9db0816b17ae12d0e55 (diff) |
Run go fmt
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r-- | internal/fusefrontend/file.go | 6 | ||||
-rw-r--r-- | internal/fusefrontend/fs.go | 12 | ||||
-rw-r--r-- | internal/fusefrontend/fs_dir.go | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/internal/fusefrontend/file.go b/internal/fusefrontend/file.go index 2e0b504..c93c384 100644 --- a/internal/fusefrontend/file.go +++ b/internal/fusefrontend/file.go @@ -49,10 +49,10 @@ func NewFile(fd *os.File, writeOnly bool, contentEnc *contentenc.ContentEnc) nod wlock.register(st.Ino) return &file{ - fd: fd, - writeOnly: writeOnly, + fd: fd, + writeOnly: writeOnly, contentEnc: contentEnc, - ino: st.Ino, + ino: st.Ino, } } diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go index a2deee5..007744c 100644 --- a/internal/fusefrontend/fs.go +++ b/internal/fusefrontend/fs.go @@ -14,11 +14,11 @@ import ( "github.com/hanwen/go-fuse/fuse/nodefs" "github.com/hanwen/go-fuse/fuse/pathfs" - "github.com/rfjakob/gocryptfs/internal/toggledlog" + "github.com/rfjakob/gocryptfs/internal/configfile" + "github.com/rfjakob/gocryptfs/internal/contentenc" "github.com/rfjakob/gocryptfs/internal/cryptocore" "github.com/rfjakob/gocryptfs/internal/nametransform" - "github.com/rfjakob/gocryptfs/internal/contentenc" - "github.com/rfjakob/gocryptfs/internal/configfile" + "github.com/rfjakob/gocryptfs/internal/toggledlog" ) type FS struct { @@ -42,10 +42,10 @@ func NewFS(args Args) *FS { nameTransform := nametransform.New(cryptoCore, args.EMENames) return &FS{ - FileSystem: pathfs.NewLoopbackFileSystem(args.Cipherdir), - args: args, + FileSystem: pathfs.NewLoopbackFileSystem(args.Cipherdir), + args: args, nameTransform: nameTransform, - contentEnc: contentEnc, + contentEnc: contentEnc, } } diff --git a/internal/fusefrontend/fs_dir.go b/internal/fusefrontend/fs_dir.go index 2b1e25d..aed501d 100644 --- a/internal/fusefrontend/fs_dir.go +++ b/internal/fusefrontend/fs_dir.go @@ -10,9 +10,9 @@ import ( "github.com/hanwen/go-fuse/fuse" - "github.com/rfjakob/gocryptfs/internal/toggledlog" "github.com/rfjakob/gocryptfs/internal/cryptocore" "github.com/rfjakob/gocryptfs/internal/nametransform" + "github.com/rfjakob/gocryptfs/internal/toggledlog" ) func (fs *FS) Mkdir(relPath string, mode uint32, context *fuse.Context) (code fuse.Status) { |