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

Function listAssets

apps/web/src/bridge/http-bridge.ts:375–377  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

373}
374
375function listAssets(): Promise<AssetMeta[]> {
376 return jsonRequest<AssetMeta[]>('/assets')
377}
378
379function hasAssetsDir(): Promise<boolean> {
380 return jsonRequest<{ exists: boolean }>('/assets/exists').then(r => r.exists)

Callers

nothing calls this directly

Calls 1

jsonRequestFunction · 0.85

Tested by

no test coverage detected