1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package frontend import ( "github.com/rfjakob/gocryptfs/cryptfs" "bazil.org/fuse/fs" ) type FS struct { *cryptfs.FS } func New(key [16]byte) *FS { return &FS { FS: cryptfs.NewFS(key), } } func (fs *FS) Root() (fs.Node, error) { return nil, nil }