aboutsummaryrefslogtreecommitdiff
path: root/pathfs_frontend/fs_dir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-12-13 20:10:52 +0100
committerJakob Unterwurzacher2015-12-13 20:24:13 +0100
commit00a712b4d1e68bb3c156eb8f97fbb89d684a7e92 (patch)
treeabf6d8c1b4493542686b3e59aaa08602fbfd4ead /pathfs_frontend/fs_dir.go
parent8518d6d7bde33fdc7ef5bcb7c3c7709404392ad8 (diff)
go fmt
...and minimal comment changes.
Diffstat (limited to 'pathfs_frontend/fs_dir.go')
-rw-r--r--pathfs_frontend/fs_dir.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathfs_frontend/fs_dir.go b/pathfs_frontend/fs_dir.go
index 95257bb..9b319f8 100644
--- a/pathfs_frontend/fs_dir.go
+++ b/pathfs_frontend/fs_dir.go
@@ -1,10 +1,10 @@
package pathfs_frontend
import (
+ "fmt"
"os"
"path/filepath"
"syscall"
- "fmt"
"github.com/hanwen/go-fuse/fuse"
"github.com/rfjakob/gocryptfs/cryptfs"
@@ -85,7 +85,7 @@ func (fs *FS) Rmdir(name string, context *fuse.Context) (code fuse.Status) {
cryptfs.Debug.Printf("Rmdir: Chmod failed: %v\n", err2)
return fuse.ToStatus(err)
}
- defer func () {
+ defer func() {
if code != fuse.OK {
// Undo the chmod if removing the directory failed
err3 := os.Chmod(encPath, origMode)