summaryrefslogtreecommitdiff
path: root/frontend/fs.go
blob: 4ce3e5c8c0855dd2874ef053d0287f5ef9e23fea (plain)
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
}