summaryrefslogtreecommitdiff
path: root/internal/fusefrontend
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r--internal/fusefrontend/file.go6
-rw-r--r--internal/fusefrontend/fs.go12
-rw-r--r--internal/fusefrontend/fs_dir.go2
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) {