(path: string)
| 347 | } |
| 348 | |
| 349 | function 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 | |
| 356 | function browseServerDirectories(path = ''): Promise<DirectoryBrowseResult> { |
| 357 | const query = path ? `?path=${encodeURIComponent(path)}` : '' |
nothing calls this directly
no test coverage detected