Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ZenNotes/zennotes
/ Root
Method
Root
apps/server/internal/vault/vault.go:260–262 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
258
}
259
260
func
(v *Vault) Root() string {
261
return
v.root
262
}
263
264
func
(v *Vault) Info() VaultInfo {
265
return
VaultInfo{Root: v.root, Name: filepath.Base(v.root)}
Callers
15
TestVaultDefaultModesAreTight
Function · 0.80
TestVaultModeOverride
Function · 0.80
TestImportAssetEnforcesMaxBytes
Function · 0.80
TestImportAssetWithinLimit
Function · 0.80
TestReadNoteRefusesSymlinkOutsideVault
Function · 0.80
TestWriteNoteRefusesSymlinkOutsideVault
Function · 0.80
TestDuplicateFolderRefusesNestedSymlink
Function · 0.80
TestSearchTextRefreshesAfterExternalChange
Function · 0.80
TestListNotesUsesMatchingPersistedMetadata
Function · 0.80
TestListNotesIgnoresStalePersistedMetadata
Function · 0.80
switchVaultRoot
Method · 0.80
effectiveBrowseRoots
Method · 0.80
Calls
no outgoing calls
Tested by
11
TestVaultDefaultModesAreTight
Function · 0.64
TestVaultModeOverride
Function · 0.64
TestImportAssetEnforcesMaxBytes
Function · 0.64
TestImportAssetWithinLimit
Function · 0.64
TestReadNoteRefusesSymlinkOutsideVault
Function · 0.64
TestWriteNoteRefusesSymlinkOutsideVault
Function · 0.64
TestDuplicateFolderRefusesNestedSymlink
Function · 0.64
TestSearchTextRefreshesAfterExternalChange
Function · 0.64
TestListNotesUsesMatchingPersistedMetadata
Function · 0.64
TestListNotesIgnoresStalePersistedMetadata
Function · 0.64
TestSessionLoginProtectsVaultRoutes
Function · 0.64