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

Method DeserializeRootObject

core/casts/root_object.go:31–33  ·  view source on GitHub ↗

DeserializeRootObject implements the interface objinterface.Collection.

(ctx context.Context, data []byte)

Source from the content-addressed store, hash-verified

29
30// DeserializeRootObject implements the interface objinterface.Collection.
31func (pgc *Collection) DeserializeRootObject(ctx context.Context, data []byte) (objinterface.RootObject, error) {
32 return DeserializeCast(ctx, data)
33}
34
35// DiffRootObjects implements the interface objinterface.Collection.
36func (pgc *Collection) DiffRootObjects(ctx context.Context, fromHash string, ours objinterface.RootObject, theirs objinterface.RootObject, ancestor objinterface.RootObject) ([]objinterface.RootObjectDiff, objinterface.RootObject, error) {

Callers

nothing calls this directly

Calls 1

DeserializeCastFunction · 0.85

Tested by

no test coverage detected