Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder(rd io.Reader, store storer.EncodedObjectStorer) *Decoder
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func NewEncoder ¶
func NewEncoder(w io.Writer, store storer.EncodedObjectStorer) *Encoder
type ObjectWalker ¶
type ObjectWalker struct {
// contains filtered or unexported fields
}
ObjectWalker walks a hash and makes a callback with each object it walks. This will yield duplicates.
func NewObjectWalker ¶
func NewObjectWalker(objs storer.EncodedObjectStorer) *ObjectWalker
NewObjectWalker instantiates a new object walker with the given store
func (*ObjectWalker) Walk ¶
func (ow *ObjectWalker) Walk(hash plumbing.Hash, cb func(plumbing.EncodedObject) error) error
Walk an object to the beginning of time
Click to show internal directories.
Click to hide internal directories.