MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / removeNoteComments

Function removeNoteComments

apps/desktop/src/main/vault.ts:2746–2748  ·  view source on GitHub ↗
(root: string, rel: string)

Source from the content-addressed store, hash-verified

2744}
2745
2746async function removeNoteComments(root: string, rel: string): Promise<void> {
2747 await fs.rm(noteCommentsPath(root, rel), { force: true })
2748}
2749
2750async function moveNoteComments(root: string, oldRel: string, nextRel: string): Promise<void> {
2751 const oldAbs = noteCommentsPath(root, oldRel)

Callers 2

emptyTrashFunction · 0.85
deleteNoteFunction · 0.85

Calls 1

noteCommentsPathFunction · 0.85

Tested by

no test coverage detected