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

Function withSuccess

src/server/generate/session-audit.ts:147–153  ·  view source on GitHub ↗
(audit: GenerationSessionAudit)

Source from the content-addressed store, hash-verified

145}
146
147export function withSuccess(audit: GenerationSessionAudit): GenerationSessionAudit {
148 return {
149 ...audit,
150 status: "succeeded",
151 updatedAt: nowIso(),
152 };
153}

Callers 1

runFunction · 0.90

Calls 1

nowIsoFunction · 0.85

Tested by

no test coverage detected