aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/r_node.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fusefrontend_reverse/r_node.go')
-rw-r--r--internal/fusefrontend_reverse/r_node.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/internal/fusefrontend_reverse/r_node.go b/internal/fusefrontend_reverse/r_node.go
new file mode 100644
index 0000000..58ce664
--- /dev/null
+++ b/internal/fusefrontend_reverse/r_node.go
@@ -0,0 +1,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{}
+}