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

Method dump

src/packagedcode/cache.py:139–144  ·  view source on GitHub ↗

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

(self, cache_file)

Source from the content-addressed store, hash-verified

137 raise
138
139 def dump(self, cache_file):
140 """
141 Dump this license cache on disk at ``cache_file``.
142 """
143 with open(cache_file, 'wb') as fn:
144 pickle.dump(self, fn, protocol=PICKLE_PROTOCOL)
145
146
147def get_prematchers_from_glob_pattern(pattern):

Calls

no outgoing calls

Tested by

no test coverage detected