MCPcopy Create free account
hub / github.com/dolthub/doltgresql / WithStorage

Method WithStorage

core/rootvalue.go:913–915  ·  view source on GitHub ↗

WithStorage returns a new root value with the given storage.

(ctx context.Context, st storage.RootStorage)

Source from the content-addressed store, hash-verified

911
912// WithStorage returns a new root value with the given storage.
913func (root *RootValue) WithStorage(ctx context.Context, st storage.RootStorage) objinterface.RootValue {
914 return root.withStorage(st)
915}
916
917// getTableMap returns the tableMap for this root.
918func (root *RootValue) getTableMap(ctx context.Context, schemaName string) (storage.RootTableMap, error) {

Callers

nothing calls this directly

Calls 1

withStorageMethod · 0.95

Tested by

no test coverage detected