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

Function fetchSearch

ui/src/lib/api.ts:59–65  ·  view source on GitHub ↗
(
  query: string,
  opts: { limit?: number } = {},
  signal?: AbortSignal
)

Source from the content-addressed store, hash-verified

57}
58
59export function fetchSearch(
60 query: string,
61 opts: { limit?: number } = {},
62 signal?: AbortSignal
63): Promise<WireSearch> {
64 return getGraphAdapter().search(query, opts, signal);
65}
66
67/** Names and locations for ids you already have — what the trail redraws with. */
68/** Ids `/api/nodes` answers per request (`MAX_NODE_REFS` on the server). */

Callers 1

runFunction · 0.90

Calls 2

getGraphAdapterFunction · 0.90
searchMethod · 0.80

Tested by

no test coverage detected