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

Function vaultInfo

apps/desktop/src/main/vault.ts:1430–1432  ·  view source on GitHub ↗
(root: string)

Source from the content-addressed store, hash-verified

1428}
1429
1430export function vaultInfo(root: string): VaultInfo {
1431 return { root, name: path.basename(root) }
1432}
1433
1434function toPosix(p: string): string {
1435 return p.split(path.sep).join('/')

Callers 4

resolveActiveLocalVaultFunction · 0.90
setVaultForWindowFunction · 0.90
setVaultFunction · 0.90
listLocalVaultsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected