Documentation ¶
Index ¶
- type ObjectIter
- type Storage
- func (s *Storage) Config() (*config.Config, error)
- func (s *Storage) IterObjects(t plumbing.ObjectType) (storer.ObjectIter, error)
- func (s *Storage) IterReferences() (storer.ReferenceIter, error)
- func (s *Storage) NewObject() plumbing.Object
- func (s *Storage) Object(t plumbing.ObjectType, h plumbing.Hash) (plumbing.Object, error)
- func (s *Storage) Reference(n plumbing.ReferenceName) (*plumbing.Reference, error)
- func (s *Storage) SetConfig(r *config.Config) error
- func (s *Storage) SetObject(obj plumbing.Object) (plumbing.Hash, error)
- func (s *Storage) SetReference(ref *plumbing.Reference) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectIter ¶
type ObjectIter struct {
// contains filtered or unexported fields
}
func (*ObjectIter) Close ¶
func (i *ObjectIter) Close()
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) IterObjects ¶
func (s *Storage) IterObjects(t plumbing.ObjectType) (storer.ObjectIter, error)
func (*Storage) IterReferences ¶
func (s *Storage) IterReferences() (storer.ReferenceIter, error)
Click to show internal directories.
Click to hide internal directories.