MCPcopy Create free account
hub / github.com/anus-dev/ANUS / read

Function read

packages/core/src/utils/filesearch/crawlCache.ts:36–36  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

34 * Returns undefined if the key is not found.
35 */
36export const read = (key: string): string[] | undefined => crawlCache.get(key);
37
38/**
39 * Writes data to the in-memory cache and sets a timer to evict it after the TTL.

Callers 1

crawlCache.test.tsFile · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected