Versions in this module Expand all Collapse all v0 v0.0.7 Nov 4, 2020 Changes in this version + func DecodeCommitBlock(b blocks.Block) (format.Node, error) v0.0.6 Nov 4, 2020 Changes in this version + var ErrInvalidCodec = errors.New("invalid codec type") v0.0.5 Nov 2, 2020 Changes in this version + const CommitCodec + var ErrNoLink = errors.New("no such link") + var ErrZeroLenPath = errors.New("zero length path") + func DecodeCommit(block blocks.Block) (format.Node, error) + type Commit struct + Date time.Time + Message string + Parents Parents + PeerID peer.ID + WorkTree cid.Cid + func (c *Commit) Cid() cid.Cid + func (c *Commit) Copy() format.Node + func (c *Commit) Hash() multihash.Multihash + func (c *Commit) Links() []*format.Link + func (c *Commit) Loggable() map[string]interface{} + func (c *Commit) RawData() []byte + func (c *Commit) Resolve(path []string) (interface{}, []string, error) + func (c *Commit) ResolveLink(path []string) (*format.Link, []string, error) + func (c *Commit) Size() (uint64, error) + func (c *Commit) Stat() (*format.NodeStat, error) + func (c *Commit) String() string + func (c *Commit) Tree(path string, depth int) []string + type Parents []cid.Cid + func (p Parents) Resolve(path []string) (interface{}, []string, error) + func (p Parents) Tree(path string, depth int) []string