MCPcopy Index your code
hub / github.com/reactjs/react-modal / parse_version

Function parse_version

scripts/changelog.py:110–115  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

108
109
110def parse_version(version):
111 if version == 'HEAD':
112 return version
113 if version[0] == 'v':
114 version = version[1:]
115 return semver.parse_version_info(version)
116
117
118def get_all_tags():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…