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

Struct TxObjectStorage

storage/memory/storage.go:213–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213type TxObjectStorage struct {
214 Storage *ObjectStorage
215 Objects map[plumbing.Hash]plumbing.EncodedObject
216}
217
218func (tx *TxObjectStorage) SetEncodedObject(obj plumbing.EncodedObject) (plumbing.Hash, error) {
219 h := obj.Hash()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected