MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / createDesignFile

Function createDesignFile

apps/desktop/src/main/snapshots-db.ts:484–491  ·  view source on GitHub ↗
(
  db: Database,
  designId: string,
  filePath: string,
  content: string,
)

Source from the content-addressed store, hash-verified

482}
483
484export function createDesignFile(
485 db: Database,
486 designId: string,
487 filePath: string,
488 content: string,
489): DesignFile {
490 return upsertDesignFile(db, designId, filePath, content);
491}
492
493export function upsertDesignFile(
494 _db: Database,

Callers 1

Calls 1

upsertDesignFileFunction · 0.85

Tested by

no test coverage detected