Start to add zap logger everywhere

This commit is contained in:
Ben Sarmiento
2023-11-05 00:02:22 +01:00
parent 4136310622
commit 1b116c2194
9 changed files with 204 additions and 50 deletions

21
internal/zfs/fs.go Normal file
View File

@@ -0,0 +1,21 @@
package zfs
import (
"os"
"sync"
"bazil.org/fuse/fs"
)
type FS struct {
uid uint32
gid uint32
umask os.FileMode
directIO bool
lock sync.RWMutex
}
// Root returns the root path
func (f *FS) Root() (fs.Node, error) {
return nil, nil
}