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

Function buildTomlTable

src/installer/targets/toml.ts:53–55  ·  view source on GitHub ↗
(header: string, values: Record<string, string | string[]>)

Source from the content-addressed store, hash-verified

51 * insertion into a TOML file.
52 */
53export function buildTomlTable(header: string, values: Record<string, string | string[]>): string {
54 return `[${header}]\n${serializeTomlTableBody(values)}`;
55}
56
57/**
58 * Insert or replace a top-level dotted-key TOML table block in the

Callers 2

buildCodegraphBlockFunction · 0.90

Calls 1

serializeTomlTableBodyFunction · 0.85

Tested by

no test coverage detected