MCPcopy Create free account
hub / github.com/Effect-TS/effect / push

Function push

packages/effect/src/Schema.ts:15266–15268  ·  view source on GitHub ↗
(depth: number, text: string)

Source from the content-addressed store, hash-verified

15264 return lines.join(pretty ? "\n" : "")
15265
15266 function push(depth: number, text: string): void {
15267 lines.push(pretty ? indent.repeat(depth) + text : text)
15268 }
15269
15270 function recur(tagName: string, node: StringTree, depth: number, originalNameForMeta?: string): void {
15271 const { attrs, safe } = xml.tagInfo(tagName, originalNameForMeta)

Callers 1

recurFunction · 0.70

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected