MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / cleanup

Function cleanup

aura/commands.py:233–236  ·  view source on GitHub ↗
(cache_tags)

Source from the content-addressed store, hash-verified

231
232
233def cleanup(cache_tags):
234 cache_items = tuple(cache.CacheItem.iter_items(tags=cache_tags))
235 click.confirm(f"You are about to delete {len(cache_items)} cache items. Proceed?", abort=True)
236 cache.CacheItem.cleanup(items=cache_items)

Callers

nothing calls this directly

Calls 2

iter_itemsMethod · 0.80
cleanupMethod · 0.45

Tested by

no test coverage detected