MCPcopy
hub / github.com/go-git/go-git / SetEncodedObject

Method SetEncodedObject

plumbing/storer/object.go:111–111  ·  view source on GitHub ↗
(plumbing.EncodedObject)

Source from the content-addressed store, hash-verified

109// with a call to Commit or Rollback.
110type Transaction interface {
111 SetEncodedObject(plumbing.EncodedObject) (plumbing.Hash, error)
112 EncodedObject(plumbing.ObjectType, plumbing.Hash) (plumbing.EncodedObject, error)
113 Commit() error
114 Rollback() error

Callers 15

createTagObjectMethod · 0.65
writeEmptyTreeFunction · 0.65
writeCommitToRefFunction · 0.65
buildCommitObjectMethod · 0.65
copyFileToStorageMethod · 0.65
CommitMethod · 0.65
TestCommitMethod · 0.65
SetEncodedObjectMethod · 0.65
CommitMethod · 0.65
TestHasEncodedObjectMethod · 0.65

Implementers 1

TxObjectStoragestorage/memory/storage.go

Calls

no outgoing calls

Tested by 13

writeEmptyTreeFunction · 0.52
writeCommitToRefFunction · 0.52
TestCommitMethod · 0.52
TestHasEncodedObjectMethod · 0.52
makeChangeEntryFunction · 0.52
TestStringNonCommitMethod · 0.52
createTestObjectsMethod · 0.52
TestMaxObjectSizeMethod · 0.52