MCPcopy Create free account
hub / github.com/ForgeAILab/forge / apiFetchBlob

Function apiFetchBlob

web/src/api/client.ts:114–117  ·  view source on GitHub ↗
(path: string, init?: ApiFetchInit)

Source from the content-addressed store, hash-verified

112}
113
114export async function apiFetchBlob(path: string, init?: ApiFetchInit): Promise<Blob> {
115 const response = await apiResponse(path, init)
116 return response.blob()
117}
118
119export function listFsEntries(path: string, daemonId: string): Promise<FsListResponse> {
120 return apiFetch<FsListResponse>('/fs/list', {

Callers 1

useTaskMediaObjectUrlsFunction · 0.90

Calls 1

apiResponseFunction · 0.85

Tested by

no test coverage detected