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

Function folderOf

apps/desktop/src/main/vault.ts:1447–1449  ·  view source on GitHub ↗
(root: string, absPath: string)

Source from the content-addressed store, hash-verified

1445}
1446
1447function folderOf(root: string, absPath: string): NoteFolder | null {
1448 return folderForRelativePath(path.relative(root, absPath))
1449}
1450
1451/**
1452 * Blank out fenced and inline code spans so the #tag / [[link]] / asset

Callers 8

readNoteFunction · 0.70
writeNoteFunction · 0.70
appendToNoteFunction · 0.70
renameNoteFunction · 0.70
folderSubpathOfFunction · 0.70
moveNoteFunction · 0.70
duplicateNoteFunction · 0.70

Calls 1

folderForRelativePathFunction · 0.85

Tested by

no test coverage detected