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

Function archiveNote

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

Source from the content-addressed store, hash-verified

3238}
3239
3240export function archiveNote(root: string, rel: string): Promise<NoteMeta> {
3241 return moveBetweenFolders(root, rel, 'archive')
3242}
3243
3244export function unarchiveNote(root: string, rel: string): Promise<NoteMeta> {
3245 return moveBetweenFolders(root, rel, 'inbox')

Callers 3

vault.test.tsFile · 0.90
registerIpcFunction · 0.90
cmdArchiveFunction · 0.50

Calls 1

moveBetweenFoldersFunction · 0.70

Tested by

no test coverage detected