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

Method SetFeatureVersion

core/rootvalue.go:883–889  ·  view source on GitHub ↗

SetFeatureVersion implements the interface doltdb.RootValue.

(v doltdb.FeatureVersion)

Source from the content-addressed store, hash-verified

881
882// SetFeatureVersion implements the interface doltdb.RootValue.
883func (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.
892func (root *RootValue) SetTableHash(ctx context.Context, tName doltdb.TableName, h hash.Hash) (doltdb.RootValue, error) {

Callers

nothing calls this directly

Calls 1

withStorageMethod · 0.95

Tested by

no test coverage detected