Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/aboutcode-org/vulnerablecode
/ getVersion
Method
getVersion
vulnerabilities/lib_oval.py:752–756 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
750
self.element.set(
"id"
, ovalid)
751
752
def
getVersion(self):
753
if
self.element is None:
754
return
None
755
756
return
self.element.get(
"version"
)
757
758
def
setVersion(self, version):
759
if
self.element is None:
Callers
3
incrementVersion
Method · 0.95
get_last_status_change
Method · 0.80
test_ovaltest_sorting
Function · 0.80
Calls
1
get
Method · 0.45
Tested by
1
test_ovaltest_sorting
Function · 0.64