Lines Matching defs:ObjectStorage

21 type ObjectStorage struct {  struct
22 options Options
26 objectCache cache.Object
28 dir *dotgit.DotGit
29 index map[plumbing.Hash]idxfile.Index
31 packList []plumbing.Hash
32 packListIdx int
33 packfiles map[plumbing.Hash]*packfile.Packfile
50 func (s *ObjectStorage) requireIndex() error {
71 func (s *ObjectStorage) Reindex() {
75 func (s *ObjectStorage) loadIdxFile(h plumbing.Hash) (err error) {
93 func (s *ObjectStorage) NewEncodedObject() plumbing.EncodedObject {
97 func (s *ObjectStorage) PackfileWriter() (io.WriteCloser, error) {
118 func (s *ObjectStorage) SetEncodedObject(o plumbing.EncodedObject) (h plumbing.Hash, err error) {
150 func (s *ObjectStorage) HasEncodedObject(h plumbing.Hash) (err error) {
174 func (s *ObjectStorage) encodedObjectSizeFromUnpacked(h plumbing.Hash) (
195 …nc (s *ObjectStorage) packfile(idx idxfile.Index, pack plumbing.Hash) (*packfile.Packfile, error) {
215 func (s *ObjectStorage) packfileFromCache(hash plumbing.Hash) *packfile.Packfile {
228 func (s *ObjectStorage) storePackfileInCache(hash plumbing.Hash, p *packfile.Packfile) error {
262 func (s *ObjectStorage) encodedObjectSizeFromPackfile(h plumbing.Hash) (
298 func (s *ObjectStorage) EncodedObjectSize(h plumbing.Hash) (
312 …ectStorage) EncodedObject(t plumbing.ObjectType, h plumbing.Hash) (plumbing.EncodedObject, error) {
359 func (s *ObjectStorage) DeltaObject(t plumbing.ObjectType,
377 func (s *ObjectStorage) getFromUnpacked(h plumbing.Hash) (obj plumbing.EncodedObject, err error) {
422 func (s *ObjectStorage) getFromPackfile(h plumbing.Hash, canBeDelta bool) (
451 func (s *ObjectStorage) decodeObjectAt(
470 func (s *ObjectStorage) decodeDeltaObjectAt(
511 …nc (s *ObjectStorage) findObjectInPackfile(h plumbing.Hash) (plumbing.Hash, plumbing.Hash, int64) {
522 func (s *ObjectStorage) HashesWithPrefix(prefix []byte) ([]plumbing.Hash, error) {
554 …nc (s *ObjectStorage) IterEncodedObjects(t plumbing.ObjectType) (storer.EncodedObjectIter, error) {
576 func (s *ObjectStorage) buildPackfileIters(
604 func (s *ObjectStorage) Close() error {
822 func (s *ObjectStorage) ForEachObjectHash(fun func(plumbing.Hash) error) error {
830 func (s *ObjectStorage) LooseObjectTime(hash plumbing.Hash) (time.Time, error) {
838 func (s *ObjectStorage) DeleteLooseObject(hash plumbing.Hash) error {
842 func (s *ObjectStorage) ObjectPacks() ([]plumbing.Hash, error) {
846 func (s *ObjectStorage) DeleteOldObjectPackAndIndex(h plumbing.Hash, t time.Time) error {