diff options
author | Jakob Unterwurzacher | 2015-09-05 11:49:05 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-09-05 11:49:05 +0200 |
commit | 05a5c0a0fffb4cb27c6e2dccda42d18ee067631c (patch) | |
tree | 11e83610503ea4e0f4cf7296979b6d358eff4e5d /frontend/node.go | |
parent | 6f90ec716a0e486628297a8d74e9f4d8d895e744 (diff) |
Wrap cluefs part I
Diffstat (limited to 'frontend/node.go')
-rw-r--r-- | frontend/node.go | 8 |
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), + } +} |