MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / search

Function search

ui/src/lib/adapter.ts:360–364  ·  view source on GitHub ↗
(text, opts = {}, signal)

Source from the content-addressed store, hash-verified

358 stats: (signal) => getJson<WireStats>('api/stats', signal),
359
360 search(text, opts = {}, signal) {
361 const params = new URLSearchParams({ q: text });
362 if (opts.limit) params.set('limit', String(opts.limit));
363 return getJson<WireSearch>(`api/search${query(params)}`, signal);
364 },
365
366 node: (id, signal) => getJson<WireSymbolPayload>(`api/node/${encodePath(id)}`, signal),
367

Callers

nothing calls this directly

Calls 3

getJsonFunction · 0.70
queryFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected