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

Function mod

__tests__/ui-map-model.test.ts:39–51  ·  view source on GitHub ↗
(id: string, over: Partial<WireMapModule> = {})

Source from the content-addressed store, hash-verified

37/* ------------------------------------------------------------- fixtures -- */
38
39function mod(id: string, over: Partial<WireMapModule> = {}): WireMapModule {
40 return {
41 id,
42 label: id.slice(id.lastIndexOf('/') + 1) || id,
43 files: over.files ?? 3,
44 symbols: over.symbols ?? 30,
45 languages: over.languages ?? [{ language: 'typescript', files: over.files ?? 3 }],
46 test: over.test ?? false,
47 facade: over.facade ?? false,
48 fileList: over.fileList ?? { total: 3, shown: 3, truncated: false, items: [] },
49 dependents: over.dependents ?? { files: 0, modules: 0 },
50 };
51}
52
53function link(
54 source: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected