Versions in this module Expand all Collapse all v0 v0.3.3 Apr 28, 2015 v0.3.2 Apr 22, 2015 Changes in this version + var ErrSeekEndNotImpl = errors.New("SEEK_END currently not implemented") + var ErrSeekFail = errors.New("failed to seek properly") + var ErrUnrecognizedWhence = errors.New("unrecognized whence") + type DagModifier struct + func NewDagModifier(ctx context.Context, from *mdag.Node, serv mdag.DAGService, ...) (*DagModifier, error) + func (dm *DagModifier) CtxReadFull(ctx context.Context, b []byte) (int, error) + func (dm *DagModifier) GetNode() (*mdag.Node, error) + func (dm *DagModifier) HasChanges() bool + func (dm *DagModifier) Read(b []byte) (int, error) + func (dm *DagModifier) Seek(offset int64, whence int) (int64, error) + func (dm *DagModifier) Size() (int64, error) + func (dm *DagModifier) Sync() error + func (dm *DagModifier) Truncate(size int64) error + func (dm *DagModifier) Write(b []byte) (int, error) + func (dm *DagModifier) WriteAt(b []byte, offset int64) (int, error)