comment doc for RootValue.SetFeatureVersion()

This commit is contained in:
Andy Arthur
2021-02-09 15:38:41 -08:00
parent 866d5e68f3
commit 0ab5ae1e86

View File

@@ -102,6 +102,7 @@ func (root *RootValue) GetFeatureVersion(ctx context.Context) (ver FeatureVersio
return ver, ok, err
}
// SetFeatureVersion writes the Dolt client's FeatureVersion to |root|.
func (root *RootValue) SetFeatureVersion(ctx context.Context) (*RootValue, error) {
st, err := root.valueSt.Set(featureVersKey, types.Int(DoltFeatureVersion))
if err != nil {