Documentation ¶
Index ¶
- type EncodedObjectIter
- type Storage
- func (s *Storage) Config() (*config.Config, error)
- func (s *Storage) EncodedObject(t plumbing.ObjectType, h plumbing.Hash) (plumbing.EncodedObject, error)
- func (s *Storage) IterEncodedObjects(t plumbing.ObjectType) (storer.EncodedObjectIter, error)
- func (s *Storage) IterReferences() (storer.ReferenceIter, error)
- func (s *Storage) NewEncodedObject() plumbing.EncodedObject
- func (s *Storage) Reference(n plumbing.ReferenceName) (*plumbing.Reference, error)
- func (s *Storage) SetConfig(r *config.Config) error
- func (s *Storage) SetEncodedObject(obj plumbing.EncodedObject) (plumbing.Hash, error)
- func (s *Storage) SetReference(ref *plumbing.Reference) error
- func (s *Storage) SetShallow(hash []plumbing.Hash) error
- func (s *Storage) Shallow() ([]plumbing.Hash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodedObjectIter ¶
type EncodedObjectIter struct {
// contains filtered or unexported fields
}
func (*EncodedObjectIter) Close ¶
func (i *EncodedObjectIter) Close()
func (*EncodedObjectIter) ForEach ¶
func (i *EncodedObjectIter) ForEach(cb func(obj plumbing.EncodedObject) error) error
func (*EncodedObjectIter) Next ¶
func (i *EncodedObjectIter) Next() (plumbing.EncodedObject, error)
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) EncodedObject ¶
func (s *Storage) EncodedObject(t plumbing.ObjectType, h plumbing.Hash) (plumbing.EncodedObject, error)
func (*Storage) IterEncodedObjects ¶
func (s *Storage) IterEncodedObjects(t plumbing.ObjectType) (storer.EncodedObjectIter, error)
func (*Storage) IterReferences ¶
func (s *Storage) IterReferences() (storer.ReferenceIter, error)
func (*Storage) NewEncodedObject ¶
func (s *Storage) NewEncodedObject() plumbing.EncodedObject
func (*Storage) SetEncodedObject ¶
Click to show internal directories.
Click to hide internal directories.