Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aboutcode-org/scancode-toolkit
/ clear
Method
clear
src/commoncode/resource.py:1112–1116 ·
view source on GitHub ↗
Purge the codebase cache(s).
(self)
Source
from the content-addressed store, hash-verified
1110
raise
Exception(msg)
from
e
1111
1112
def
clear(self):
1113
""
"
1114
Purge the codebase cache(s).
1115
""
"
1116
delete(self.cache_dir)
1117
1118
def
lowest_common_parent(self):
1119
""
"
Callers
nothing calls this directly
Calls
1
delete
Function · 0.90
Tested by
no test coverage detected