SetCollation implements the interface doltdb.RootValue.
(ctx context.Context, collation schema.Collation)
| 872 | |
| 873 | // SetCollation implements the interface doltdb.RootValue. |
| 874 | func (root *RootValue) SetCollation(ctx context.Context, collation schema.Collation) (doltdb.RootValue, error) { |
| 875 | newStorage, err := root.st.SetCollation(ctx, collation) |
| 876 | if err != nil { |
| 877 | return nil, err |
| 878 | } |
| 879 | return root.withStorage(newStorage), nil |
| 880 | } |
| 881 | |
| 882 | // SetFeatureVersion implements the interface doltdb.RootValue. |
| 883 | func (root *RootValue) SetFeatureVersion(v doltdb.FeatureVersion) (doltdb.RootValue, error) { |
nothing calls this directly
no test coverage detected