MCPcopy Index your code
hub / github.com/go-git/go-git / IterEncodedObjects

Method IterEncodedObjects

plumbing/storer/object.go:39–39  ·  view source on GitHub ↗

IterObjects returns a custom EncodedObjectStorer over all the object on the storage. Valid plumbing.ObjectType values are CommitObject, BlobObject, TagObject,

(plumbing.ObjectType)

Source from the content-addressed store, hash-verified

37 //
38 // Valid plumbing.ObjectType values are CommitObject, BlobObject, TagObject,
39 IterEncodedObjects(plumbing.ObjectType) (EncodedObjectIter, error)
40 // HasEncodedObject returns ErrObjNotFound if the object doesn't
41 // exist. If the object does exist, it returns nil.
42 HasEncodedObject(plumbing.Hash) error

Callers 15

TreeObjectsMethod · 0.65
CommitObjectsMethod · 0.65
BlobObjectsMethod · 0.65
TagObjectsMethod · 0.65
ObjectsMethod · 0.65
expandPartialHashFunction · 0.65
assertStorageStatusFunction · 0.65
IterEncodedObjectsMethod · 0.65
CommitMethod · 0.65
TestCommitMethod · 0.65

Implementers 2

ObjectStoragestorage/memory/storage.go
MockObjectStorageplumbing/storer/object_test.go

Calls

no outgoing calls

Tested by 11

assertStorageStatusFunction · 0.52
TestCommitMethod · 0.52
TestBlobIterMethod · 0.52
TestTagItterMethod · 0.52
TestTagIterErrorMethod · 0.52
TestTreeIterMethod · 0.52
TestNoFileFilemodesMethod · 0.52
TestObjectIterMethod · 0.52
testEncodeDecodeMethod · 0.52