ipld-eth-server/vendor/github.com/ipfs/go-mfs/inode.go
Elizabeth Engelman 36533f7c3f Update vendor directory and make necessary code changes
Fixes for new geth version
2019-09-25 16:32:27 -05:00

22 lines
569 B
Go

package mfs
import (
ipld "github.com/ipfs/go-ipld-format"
)
// inode abstracts the common characteristics of the MFS `File`
// and `Directory`. All of its attributes are initialized at
// creation.
type inode struct {
// name of this `inode` in the MFS path (the same value
// is also stored as the name of the DAG link).
name string
// parent directory of this `inode` (which may be the `Root`).
parent parent
// dagService used to store modifications made to the contents
// of the file or directory the `inode` belongs to.
dagService ipld.DAGService
}