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

Function getMap

__tests__/ui-map-api.test.ts:70–75  ·  view source on GitHub ↗
(query = '')

Source from the content-addressed store, hash-verified

68}
69
70async function getMap(query = ''): Promise<any> {
71 const res = await request(`/api/map${query}`);
72 expect(res.type).toBe('application/json; charset=utf-8');
73 expect(res.status).toBe(200);
74 return JSON.parse(res.body);
75}
76
77function write(root: string, rel: string, body: string): void {
78 const full = path.join(root, rel);

Callers 1

ui-map-api.test.tsFile · 0.85

Calls 2

parseMethod · 0.80
requestFunction · 0.70

Tested by

no test coverage detected