diff options
author | Jakob Unterwurzacher | 2019-08-04 14:13:00 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2019-08-04 14:13:00 +0200 |
commit | b1d09b0f17dd8b2fe9e47289d1743d0a730c7c42 (patch) | |
tree | f1a24ca60448bd692d8846da97907a6f4887a641 /mount.go | |
parent | 13055278f56b941be0ea1ff4eb4840d88fba7e37 (diff) |
Rename isDirEmpty -> isEmptyDir
The function actually answers the question:
"is this an empty dir"?
Diffstat (limited to 'mount.go')
-rw-r--r-- | mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ func doMount(args *argContainer) { if args.nonempty { err = isDir(args.mountpoint) } else { - err = isDirEmpty(args.mountpoint) + err = isEmptyDir(args.mountpoint) // OSXFuse will create the mountpoint for us ( https://github.com/rfjakob/gocryptfs/issues/194 ) if runtime.GOOS == "darwin" && os.IsNotExist(err) { tlog.Info.Printf("Mountpoint %q does not exist, but should be created by OSXFuse", |