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

Function unarchiveNote

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

Source from the content-addressed store, hash-verified

3242}
3243
3244export function unarchiveNote(root: string, rel: string): Promise<NoteMeta> {
3245 return moveBetweenFolders(root, rel, 'inbox')
3246}
3247
3248export async function emptyTrash(root: string): Promise<void> {
3249 const trashDir = path.join(root, 'trash')

Callers 5

vault.test.tsFile · 0.90
registerIpcFunction · 0.90
handlerFunction · 0.50
ArchiveViewFunction · 0.50
cmdUnarchiveFunction · 0.50

Calls 1

moveBetweenFoldersFunction · 0.70

Tested by

no test coverage detected