arudradey's picture
download
raw
494 Bytes
/**
* @license
* Copyright 2023 The Emscripten Authors
* SPDX-License-Identifier: MIT
*/
addToLibrary({
$FETCHFS__deps: ['$stringToUTF8OnStack', 'wasmfs_create_fetch_backend'],
$FETCHFS: {
createBackend(opts) {
return withStackSave(
() => _wasmfs_create_fetch_backend(
stringToUTF8OnStack(opts.base_url ?? ""),
opts.chunkSize | 0
)
);
},
},
});
if (!WASMFS) {
error("using -lfetchfs.js requires using WasmFS (-sWASMFS)");
}

Xet Storage Details

Size:
494 Bytes
·
Xet hash:
5b00436d2a17eb0ed733177f1e9029fb63ad8d81c696f6dce4a08559127e9808

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.