Skip to content

Commit

Permalink
mfs: remove unused Root variables node and Type
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
  • Loading branch information
schomatis committed Jun 29, 2018
1 parent 08922d2 commit ba73385
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mfs/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,13 @@ type FSNode interface {

// Root represents the root of a filesystem tree.
type Root struct {
// node is the merkledag root.
node *dag.ProtoNode

// Root directory of the MFS layout.
dir *Directory

repub *Republisher

dserv ipld.DAGService

Type string
}

// PubFunc is the function used by the `publish()` method.
Expand All @@ -77,7 +73,6 @@ func NewRoot(parent context.Context, ds ipld.DAGService, node *dag.ProtoNode, pf
}

root := &Root{
node: node,
repub: repub,
dserv: ds,
}
Expand Down

0 comments on commit ba73385

Please sign in to comment.