summaryrefslogtreecommitdiff
path: root/frontend/node.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-09-05 11:49:05 +0200
committerJakob Unterwurzacher2015-09-05 11:49:05 +0200
commit05a5c0a0fffb4cb27c6e2dccda42d18ee067631c (patch)
tree11e83610503ea4e0f4cf7296979b6d358eff4e5d /frontend/node.go
parent6f90ec716a0e486628297a8d74e9f4d8d895e744 (diff)
Wrap cluefs part I
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),
+ }
+}