MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / dump

Method dump

src/licensedcode/cache.py:201–206  ·  view source on GitHub ↗

Dump this license cache on disk at ``cache_file``.

(self, cache_file)

Source from the content-addressed store, hash-verified

199 return True
200
201 def dump(self, cache_file):
202 """
203 Dump this license cache on disk at ``cache_file``.
204 """
205 with open(cache_file, 'wb') as fn:
206 pickle.dump(self, fn, protocol=PICKLE_PROTOCOL)
207
208
209def build_index(

Callers 1

load_or_buildMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected