MCPcopy Create free account
hub / github.com/encoder-run/operator / NewEncodedObject

Method NewEncodedObject

pkg/cache/postgres/object.go:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func (o *ObjectStorage) NewEncodedObject() plumbing.EncodedObject {
20 return &plumbing.MemoryObject{}
21}
22
23// SetEncodedObject stores an encoded object in Postgres.
24func (s *ObjectStorage) SetEncodedObject(obj plumbing.EncodedObject) (plumbing.Hash, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected