File Explorer

/var/runtime/node_modules/@aws-sdk/node_modules/axios/lib/helpers

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

readBlob.js323 B · 16 lines
const { asyncIterator } = Symbol; const readBlob = async function* (blob) {  if (blob.stream) {    yield* blob.stream();  } else if (blob.arrayBuffer) {    yield await blob.arrayBuffer();  } else if (blob[asyncIterator]) {    yield* blob[asyncIterator]();  } else {    yield blob;  }}; export default readBlob;