MCPcopy
hub / github.com/ahmedkhaleel2004/gitdiagram / withGraph

Function withGraph

src/server/generate/session-audit.ts:105–114  ·  view source on GitHub ↗
(
  audit: GenerationSessionAudit,
  graph: DiagramGraph,
)

Source from the content-addressed store, hash-verified

103}
104
105export function withGraph(
106 audit: GenerationSessionAudit,
107 graph: DiagramGraph,
108): GenerationSessionAudit {
109 return {
110 ...audit,
111 graph,
112 updatedAt: nowIso(),
113 };
114}
115
116export function withCompiledDiagram(
117 audit: GenerationSessionAudit,

Callers 1

runFunction · 0.90

Calls 1

nowIsoFunction · 0.85

Tested by

no test coverage detected