MCPcopy Index your code
hub / github.com/ZenNotes/zennotes / folderOf

Method folderOf

apps/server/internal/vault/vault.go:1389–1395  ·  view source on GitHub ↗
(abs string)

Source from the content-addressed store, hash-verified

1387}
1388
1389func (v *Vault) folderOf(abs string) (NoteFolder, bool) {
1390 rel, err := filepath.Rel(v.root, abs)
1391 if err != nil {
1392 return "", false
1393 }
1394 return FolderForRelativePath(rel)
1395}
1396
1397// --- Create / Rename / Delete ---
1398

Callers 6

ReadNoteMethod · 0.95
WriteNoteMethod · 0.95
renameNoteFileMethod · 0.95
folderSubpathOfMethod · 0.95
DuplicateNoteMethod · 0.95
ScanTasksForPathMethod · 0.95

Calls 1

FolderForRelativePathFunction · 0.85

Tested by

no test coverage detected