libgocryptfs/frontend/fs.go

21 lines
258 B
Go
Raw Normal View History

2015-09-03 19:09:23 +02:00
package frontend
import (
"github.com/rfjakob/gocryptfs/cryptfs"
2015-09-03 19:27:07 +02:00
"bazil.org/fuse/fs"
2015-09-03 19:09:23 +02:00
)
type FS struct {
2015-09-03 19:27:07 +02:00
*cryptfs.FS
}
func New(key [16]byte) *FS {
return &FS {
FS: cryptfs.NewFS(key),
}
}
func (fs *FS) Root() (fs.Node, error) {
return nil, nil
2015-09-03 19:09:23 +02:00
}