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

Function flagString

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

Source from the content-addressed store, hash-verified

799}
800
801function flagString(f: ExploreDiagnosticFile): string {
802 const flags: string[] = [];
803 if (f.pinned) flags.push('pinned');
804 if (f.named) flags.push('named');
805 if (f.entry) flags.push('entry');
806 if (f.central) flags.push('central');
807 if (f.spine) flags.push('spine');
808 if (f.lowValue) flags.push('low-value');
809 if (f.generated) flags.push('generated');
810 if (f.ambientDeclaration) flags.push('ambient-decl');
811 return flags.join(' ') || '-';
812}

Callers 1

renderTableFunction · 0.85

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected