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

Function selectVaultPath

apps/web/src/bridge/http-bridge.ts:349–354  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

347}
348
349function selectVaultPath(path: string): Promise<VaultInfo> {
350 return jsonRequest<VaultInfo>('/vault/select', {
351 method: 'POST',
352 body: { path }
353 }).catch((err) => wrapRouteUpgradeError('/vault/select', err))
354}
355
356function browseServerDirectories(path = ''): Promise<DirectoryBrowseResult> {
357 const query = path ? `?path=${encodeURIComponent(path)}` : ''

Callers

nothing calls this directly

Calls 2

jsonRequestFunction · 0.85
wrapRouteUpgradeErrorFunction · 0.85

Tested by

no test coverage detected