PutRootObject implements the interface doltdb.RootValue.
(ctx context.Context, tName doltdb.TableName, rootObj doltdb.RootObject)
| 609 | |
| 610 | // PutRootObject implements the interface doltdb.RootValue. |
| 611 | func (root *RootValue) PutRootObject(ctx context.Context, tName doltdb.TableName, rootObj doltdb.RootObject) (doltdb.RootValue, error) { |
| 612 | if rootObj == nil { |
| 613 | return root, nil |
| 614 | } |
| 615 | return rootobject.PutRootObject(ctx, root, tName, rootObj.(objinterface.RootObject)) |
| 616 | } |
| 617 | |
| 618 | // PutTable implements the interface doltdb.RootValue. |
| 619 | func (root *RootValue) PutTable(ctx context.Context, tName doltdb.TableName, table *doltdb.Table) (doltdb.RootValue, error) { |
nothing calls this directly
no test coverage detected