summaryrefslogtreecommitdiff
path: root/pathfs_frontend
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-11-29 21:55:20 +0100
committerJakob Unterwurzacher2015-11-29 21:55:20 +0100
commitce42a6f23d9fd50ddf2e66a68e6ec57cad80c018 (patch)
treee5ca3e87688171785738350f541966fdacab9470 /pathfs_frontend
parent20b058a33335f48812864513cc13ea0a276aaaa3 (diff)
Run go fmt
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,
}
}