SetFeatureVersion implements the interface doltdb.RootValue.
(v doltdb.FeatureVersion)
| 881 | |
| 882 | // SetFeatureVersion implements the interface doltdb.RootValue. |
| 883 | func (root *RootValue) SetFeatureVersion(v doltdb.FeatureVersion) (doltdb.RootValue, error) { |
| 884 | newStorage, err := root.st.SetFeatureVersion(v) |
| 885 | if err != nil { |
| 886 | return nil, err |
| 887 | } |
| 888 | return root.withStorage(newStorage), nil |
| 889 | } |
| 890 | |
| 891 | // SetTableHash implements the interface doltdb.RootValue. |
| 892 | func (root *RootValue) SetTableHash(ctx context.Context, tName doltdb.TableName, h hash.Hash) (doltdb.RootValue, error) { |
nothing calls this directly
no test coverage detected