mfs: remove unused `Root` variables `node` and `Type`
License: MIT Signed-off-by: Lucas Molas <schomatis@gmail.com>
Lucas Molas committed
Jun 29, 2018 at 11:51 UTC
ba7338543fcf9c0b6927bdf4c726941e39f2443c
1 file changed
-5
mfs/system.go
-5
@@ -50,8 +50,6 @@ type FSNode interface {
50
51
// Root represents the root of a filesystem tree.
52
type Root struct {
53
- // node is the merkledag root.
54
- node *dag.ProtoNode
53
54
// Root directory of the MFS layout.
55
dir *Directory
@@ -59,8 +57,6 @@ type Root struct {
57
repub *Republisher
58
59
dserv ipld.DAGService
62
-
63
- Type string
60
}
61
62
// PubFunc is the function used by the `publish()` method.
@@ -77,7 +73,6 @@ func NewRoot(parent context.Context, ds ipld.DAGService, node *dag.ProtoNode, pf
73
}
74
75
root := &Root{
80
- node: node,
76
repub: repub,
77
dserv: ds,
78
}