aboutsummaryrefslogtreecommitdiff
path: root/pathfs_frontend
diff options
context:
space:
mode:
Diffstat (limited to 'pathfs_frontend')
-rw-r--r--pathfs_frontend/args.go8
-rw-r--r--pathfs_frontend/fs.go6
2 files changed, 7 insertions, 7 deletions
diff --git a/pathfs_frontend/args.go b/pathfs_frontend/args.go
index 7971b79..86a907d 100644
--- a/pathfs_frontend/args.go
+++ b/pathfs_frontend/args.go
@@ -2,9 +2,9 @@ package pathfs_frontend
// Container for arguments that are passed from main() to pathfs_frontend
type Args struct {
- Masterkey []byte
- Cipherdir string
- OpenSSL bool
+ Masterkey []byte
+ Cipherdir string
+ OpenSSL bool
PlaintextNames bool
- DirIV bool
+ DirIV bool
}
diff --git a/pathfs_frontend/fs.go b/pathfs_frontend/fs.go
index 736e5dc..54525b9 100644
--- a/pathfs_frontend/fs.go
+++ b/pathfs_frontend/fs.go
@@ -17,8 +17,8 @@ import (
type FS struct {
*cryptfs.CryptFS
- pathfs.FileSystem // loopbackFileSystem, see go-fuse/fuse/pathfs/loopback.go
- args Args // Stores configuration arguments
+ pathfs.FileSystem // loopbackFileSystem, see go-fuse/fuse/pathfs/loopback.go
+ args Args // Stores configuration arguments
// dirIVLock: Lock()ed if any "gocryptfs.diriv" file is modified
// Readers must RLock() it to prevent them from seeing intermediate
// states
@@ -30,7 +30,7 @@ func NewFS(args Args) *FS {
return &FS{
CryptFS: cryptfs.NewCryptFS(args.Masterkey, args.OpenSSL, args.PlaintextNames),
FileSystem: pathfs.NewLoopbackFileSystem(args.Cipherdir),
- args: args,
+ args: args,
}
}