summaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/r_node.go
blob: 58ce664eba010b48edb655d8bda3f34fa0d61476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package fusefrontend_reverse

import (
	"github.com/hanwen/go-fuse/v2/fs"

	"github.com/rfjakob/gocryptfs/internal/contentenc"
	"github.com/rfjakob/gocryptfs/internal/fusefrontend"
	"github.com/rfjakob/gocryptfs/internal/nametransform"
)

// RNode is a file or directory in the filesystem tree
// in a `gocryptfs -reverse` mount.
type RNode struct {
	fs.Inode
}

func NewRootNode(args fusefrontend.Args, c *contentenc.ContentEnc, n nametransform.NameTransformer) *RNode {
	// TODO
	return &RNode{}
}