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

Function answer

__tests__/ui-search-model.test.ts:45–53  ·  view source on GitHub ↗
(items: WireSearchResult[])

Source from the content-addressed store, hash-verified

43}
44
45function answer(items: WireSearchResult[]): WireSearch {
46 return {
47 query: 'q',
48 text: 'q',
49 filters: { kinds: [], languages: [], paths: [], names: [] },
50 results: { total: items.length, shown: items.length, truncated: false, items },
51 groups: [],
52 };
53}
54
55/* ----------------------------------------------------------- flow query -- */
56

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected