MCPcopy Create free account
hub / github.com/reactjs/react-modal / to_version

Function to_version

scripts/changelog.py:95–100  ·  view source on GitHub ↗
(tag)

Source from the content-addressed store, hash-verified

93
94
95def to_version(tag):
96 if not tag:
97 return "HEAD"
98 if tag.prerelease:
99 return str(tag)
100 return "v{}".format(tag)
101
102
103def logs_between(base, b):

Callers 2

log_in_between_versionsFunction · 0.85
logs_betweenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…