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

Method analyze

aura/cache.py:84–87  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

82
83 @classmethod
84 def analyze(cls) -> Generator[CacheItem, None, None]:
85 items = list(cls.iter_items())
86 items.sort(key=lambda x: -x.size)
87 yield from items
88
89 @classmethod
90 def cleanup(cls, items: Optional[Iterable[CacheItem]]=None):

Callers 3

test_cache_purgeFunction · 0.45
cleanupMethod · 0.45

Calls 2

iter_itemsMethod · 0.80
sortMethod · 0.80

Tested by 2

test_cache_purgeFunction · 0.36