MCPcopy Create free account
hub / github.com/awslabs/llrt / loadShim

Function loadShim

build.mjs:628–631  ·  view source on GitHub ↗
(filter, filename)

Source from the content-addressed store, hash-verified

626 await fs.mkdir(OUT_DIR, { recursive: true });
627 await rmTmpDir();
628 await fs.mkdir(TMP_DIR, { recursive: true });
629}
630
631async function loadShims() {
632 const loadShim = async (filter, filename) => {
633 const bytes = await fs.readFile(path.join("shims", filename));
634 SHIMS.set(filter, bytes.toString());

Callers 1

loadShimsFunction · 0.85

Calls 3

joinMethod · 0.80
toStringMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected