MCPcopy Create free account
hub / github.com/idosal/git-mcp / R2ObjectBody

Interface R2ObjectBody

worker-configuration.d.ts:1593–1600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1591 writeHttpMetadata(headers: Headers): void;
1592}
1593interface R2ObjectBody extends R2Object {
1594 get body(): ReadableStream;
1595 get bodyUsed(): boolean;
1596 arrayBuffer(): Promise<ArrayBuffer>;
1597 text(): Promise<string>;
1598 json<T>(): Promise<T>;
1599 blob(): Promise<Blob>;
1600}
1601type R2Range = {
1602 offset: number;
1603 length?: number;

Callers 14

homeContentFunction · 0.65
badge.test.tsFile · 0.65
index.test.tsFile · 0.65
checkRobotsTxtFunction · 0.65
fetchUrlContentFunction · 0.65
fetchFileFunction · 0.65
fetchFileFromR2Function · 0.65
githubApiRequestFunction · 0.65
fetchUrlContentFunction · 0.80
withAutoragCacheFunction · 0.80
getRepoBranchFunction · 0.80
searchCodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected