MCPcopy Create free account
hub / github.com/backnotprop/plannotator / draftPath

Function draftPath

packages/shared/draft.ts:33–35  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

31}
32
33function draftPath(key: string): string {
34 return join(getDraftDir(), `${key}.json`);
35}
36
37function tombstonePath(key: string): string {
38 return join(getDraftDir(), `${key}.deleted.json`);

Callers 4

saveDraftFunction · 0.85
loadDraftFunction · 0.85
deleteDraftFunction · 0.85

Calls 1

getDraftDirFunction · 0.85

Tested by

no test coverage detected