MCPcopy Create free account
hub / github.com/apache/fory / _normalize_cmake_version

Function _normalize_cmake_version

ci/release.py:981–986  ·  view source on GitHub ↗
(v: str)

Source from the content-addressed store, hash-verified

979
980
981def _normalize_cmake_version(v: str) -> str:
982 v = v.strip()
983 if v.startswith("v"):
984 v = v[1:]
985 v = re.split(r"[-+]", v, maxsplit=1)[0]
986 return v
987
988
989def _update_js_version(lines, v: str):

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected