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

Method GetConflictRootObject

core/rootvalue.go:320–322  ·  view source on GitHub ↗

GetConflictRootObject implements the interface doltdb.RootValue. This function is specifically used to find conflicts, as the standard GetRootObject will not look at the conflicts collection.

(ctx context.Context, tName doltdb.TableName)

Source from the content-addressed store, hash-verified

318// GetConflictRootObject implements the interface doltdb.RootValue. This function is specifically used to find conflicts,
319// as the standard GetRootObject will not look at the conflicts collection.
320func (root *RootValue) GetConflictRootObject(ctx context.Context, tName doltdb.TableName) (doltdb.ConflictRootObject, bool, error) {
321 return rootobject.GetRootObjectConflicts(ctx, root, tName)
322}
323
324// GetConflictRootObjects implements the interface doltdb.RootValue.
325func (root *RootValue) GetConflictRootObjects(ctx context.Context) ([]doltdb.ConflictRootObject, error) {

Callers

nothing calls this directly

Calls 1

GetRootObjectConflictsFunction · 0.92

Tested by

no test coverage detected