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

Function cache_package_patterns

src/packagedcode/cache.py:269–273  ·  view source on GitHub ↗

Create scancode package manifest patterns cache and exit

(*args, **kwargs)

Source from the content-addressed store, hash-verified

267@click.command(name='scancode-reindex-package-patterns')
268@click.help_option('-h', '--help')
269def cache_package_patterns(*args, **kwargs):
270 """Create scancode package manifest patterns cache and exit"""
271 click.echo('Rebuilding the package cache patterns...')
272 get_cache(force=True)
273 click.echo('Done.')
274
275
276if __name__ == '__main__':

Callers 1

cache.pyFile · 0.85

Calls 1

get_cacheFunction · 0.70

Tested by

no test coverage detected