MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / writeMetadata

Function writeMetadata

src/workspaces/workspace-metadata.spec.ts:17–20  ·  view source on GitHub ↗
(raw: string)

Source from the content-addressed store, hash-verified

15})
16
17async function writeMetadata(raw: string): Promise<void> {
18 await mkdir(join(dir, '.alice'), { recursive: true })
19 await writeFile(join(dir, WORKSPACE_METADATA_REL), raw, 'utf8')
20}
21
22describe('workspace metadata', () => {
23 it('reports absent when the workspace has no self-description file', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected