MCPcopy
hub / github.com/numbersprotocol/nit / getWorkingAssetCid

Function getWorkingAssetCid

src/run.ts:40–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40async function getWorkingAssetCid() {
41 const workingConfig = JSON.parse(fs.readFileSync(`${workingDir}/working.json`, "utf-8"));
42 return workingConfig.assetCid;
43}
44
45async function loadConfig() {
46 const config = JSON.parse(fs.readFileSync(`${configFilepath}`, "utf-8"));

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected