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

Method commentsPath

apps/server/internal/vault/vault.go:528–530  ·  view source on GitHub ↗
(rel string)

Source from the content-addressed store, hash-verified

526}
527
528func (v *Vault) commentsPath(rel string) (string, error) {
529 return SafeJoin(v.commentsRoot(), filepath.ToSlash(rel)+noteCommentsSuffix)
530}
531
532func (v *Vault) inferPrimaryNotesLocation() PrimaryNotesLocation {
533 entries, err := os.ReadDir(v.root)

Callers 4

Calls 2

commentsRootMethod · 0.95
SafeJoinFunction · 0.85

Tested by

no test coverage detected