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

Struct IndexStorage

pkg/cache/postgres/index.go:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type IndexStorage struct {
14 db *gorm.DB
15 namespacePrefix string
16}
17
18// SetIndex serializes and stores the index in Postgres.
19func (s *IndexStorage) SetIndex(idx *index.Index) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected