MCPcopy Create free account
hub / github.com/go-git/go-git / SetEncodedObject

Method SetEncodedObject

plumbing/storer/object_test.go:132–134  ·  view source on GitHub ↗
(obj plumbing.EncodedObject)

Source from the content-addressed store, hash-verified

130}
131
132func (o *MockObjectStorage) SetEncodedObject(obj plumbing.EncodedObject) (plumbing.Hash, error) {
133 return plumbing.ZeroHash, nil
134}
135
136func (o *MockObjectStorage) HasEncodedObject(h plumbing.Hash) error {
137 for _, o := range o.db {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected