From c74772bc8d7348ced429e5ca6ef47a53a8f215ff Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 6 Feb 2016 20:23:36 +0100 Subject: Run go fmt --- internal/fusefrontend/file.go | 6 +++--- internal/fusefrontend/fs.go | 12 ++++++------ internal/fusefrontend/fs_dir.go | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'internal/fusefrontend') 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) { -- cgit v1.2.3