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

Function clear

packages/core/src/utils/filesearch/crawlCache.ts:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 * Primarily used for testing.
63 */
64export const clear = (): void => {
65 for (const timerId of cacheTimers.values()) {
66 clearTimeout(timerId);
67 }
68 crawlCache.clear();
69 cacheTimers.clear();
70};

Callers 1

crawlCache.test.tsFile · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected