aboutsummaryrefslogtreecommitdiff
path: root/frontend/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/node.go')
-rw-r--r--frontend/node.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/frontend/node.go b/frontend/node.go
index 7218d54..f9b630c 100644
--- a/frontend/node.go
+++ b/frontend/node.go
@@ -1,9 +1,17 @@
package frontend
import (
+ "fmt"
"github.com/rfjakob/cluefs/lib/cluefs"
)
type Node struct {
*cluefs.Node
}
+
+func NewNode(parent string, name string, fs *FS) *Node {
+ fmt.Printf("NewNode\n")
+ return &Node{
+ Node: cluefs.NewNode(parent, name, fs.ClueFS),
+ }
+}