ref: 8683c3275fca6a12ddf1813a877c7e7fb739a097
parent: ae868c0ae8b372332b1b9b26d26179e17d71deb8
author: Alex Musolino <alex@musolino.id.au>
date: Tue Jan 3 07:53:22 EST 2023
go fmt changes
--- a/mntgen.go
+++ b/mntgen.go
@@ -19,8 +19,8 @@
}
type Dir struct {
- Fs *FS
- Name string
+ Fs *FS
+ Name string
Attributes fuse.Attr
Entries map[string]*Dir
}
@@ -28,7 +28,7 @@
func NewDir(fs *FS, name string) *Dir {
atomic.AddUint64(&inodeCount, 1)
return &Dir{
- Fs: fs,
+ Fs: fs,
Name: name,
Attributes: fuse.Attr{
Inode: inodeCount,
@@ -37,8 +37,8 @@
Ctime: time.Now(),
Mode: os.ModeDir | 0o755,
Nlink: 2,
- Uid: uint32(os.Getuid()),
- Gid: uint32(os.Getgid()),
+ Uid: uint32(os.Getuid()),
+ Gid: uint32(os.Getgid()),
},
Entries: make(map[string]*Dir),
}