MCPcopy
hub / github.com/tone-row/flowchart-fun / docToString

Function docToString

app/src/lib/useDoc.ts:59–62  ·  view source on GitHub ↗
(doc: Doc)

Source from the content-addressed store, hash-verified

57);
58
59export function docToString(doc: Doc) {
60 const { text, meta } = doc;
61 return [text, newDelimiters, JSON.stringify(meta), newDelimiters].join("\n");
62}
63
64type ParseErrorStore = {
65 error: string;

Callers 6

CloneButtonFunction · 0.90
CanSaveButtonFunction · 0.90
LoadFileButtonFunction · 0.90
EditHostedFunction · 0.90
Sandbox.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected