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

Method GetRootObject

core/rootvalue.go:373–375  ·  view source on GitHub ↗

GetRootObject implements the interface doltdb.RootValue.

(ctx context.Context, tName doltdb.TableName)

Source from the content-addressed store, hash-verified

371
372// GetRootObject implements the interface doltdb.RootValue.
373func (root *RootValue) GetRootObject(ctx context.Context, tName doltdb.TableName) (doltdb.RootObject, bool, error) {
374 return rootobject.GetRootObject(ctx, root, tName)
375}
376
377// GetStorage returns the underlying storage.
378func (root *RootValue) GetStorage(ctx context.Context) storage.RootStorage {

Callers

nothing calls this directly

Calls 1

GetRootObjectFunction · 0.92

Tested by

no test coverage detected