MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ident

Function ident

packages/core/fumadb/src/utils/parse.ts:9–16  ·  view source on GitHub ↗
(s: string, identation = 2)

Source from the content-addressed store, hash-verified

7}
8
9export function ident(s: string, identation = 2): string {
10 const tab = " ".repeat(identation);
11
12 return s
13 .split("\n")
14 .map((v) => tab + v)
15 .join("\n");
16}

Callers 3

generateTableFunction · 0.90
generateRelationFunction · 0.90
generateTableFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected