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

Function flagString

src/mcp/explore-diagnostics.ts:815–826  ·  view source on GitHub ↗
(f: ExploreDiagnosticFile)

Source from the content-addressed store, hash-verified

813}
814
815function flagString(f: ExploreDiagnosticFile): string {
816 const flags: string[] = [];
817 if (f.pinned) flags.push('pinned');
818 if (f.named) flags.push('named');
819 if (f.entry) flags.push('entry');
820 if (f.central) flags.push('central');
821 if (f.spine) flags.push('spine');
822 if (f.lowValue) flags.push('low-value');
823 if (f.generated) flags.push('generated');
824 if (f.ambientDeclaration) flags.push('ambient-decl');
825 return flags.join(' ') || '-';
826}

Callers 1

renderTableFunction · 0.85

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected