MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / yamlTree

Function yamlTree

graph-ui/src/browser-ai/workflow-facts.ts:121–124  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

119}
120/** The whole file as values, for an outline read from it (C7). */
121export function yamlTree(text: string): YamlValue | undefined {
122 const lines = linesOf(text);
123 return lines.length ? valueOf(lines, lines.map((_, index) => index)) : undefined;
124}
125
126export function workflowFacts(text: string): WorkflowFacts | undefined {
127 const lines = linesOf(text);

Callers 1

treeOfFunction · 0.90

Calls 2

linesOfFunction · 0.70
valueOfFunction · 0.70

Tested by

no test coverage detected