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

Method set

packages/core/src/utils/filesearch/result-cache.ts:65–67  ·  view source on GitHub ↗

* Stores search results in the cache. * @param query The search query pattern. * @param results The matching file paths to cache.

(query: string, results: string[])

Source from the content-addressed store, hash-verified

63 * @param results The matching file paths to cache.
64 */
65 set(query: string, results: string[]): void {
66 this.cache.set(query, results);
67 }
68}

Callers 3

searchMethod · 0.45
writeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected