MCPcopy Create free account
hub / github.com/StackStorm/st2 / version_match

Function version_match

st2common/st2common/expressions/functions/version.py:46–47  ·  view source on GitHub ↗
(value, pattern)

Source from the content-addressed store, hash-verified

44
45
46def version_match(value, pattern):
47 return semver.Version.parse(value).match(pattern)
48
49
50def version_bump_major(value):

Callers

nothing calls this directly

Calls 2

parseMethod · 0.80
matchMethod · 0.45

Tested by

no test coverage detected