Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aboutcode-org/vulnerablecode
/ only_non_vulnerable
Method
only_non_vulnerable
vulnerabilities/models.py:820–821 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
818
return
self._vulnerable(True)
819
820
def
only_non_vulnerable(self):
821
return
self._vulnerable(False).filter(is_ghost=False)
822
823
def
_vulnerable(self, vulnerable=True):
824
""
"
Callers
1
get_non_vulnerable_versions
Method · 0.80
Calls
1
_vulnerable
Method · 0.95
Tested by
no test coverage detected