Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
46
def
version_match(value, pattern):
47
return
semver.Version.parse(value).match(pattern)
48
49
50
def
version_bump_major(value):
Callers
nothing calls this directly
Calls
2
parse
Method · 0.80
match
Method · 0.45
Tested by
no test coverage detected