MCPcopy Create free account
hub / github.com/openai/plugins / readFile

Method readFile

plugins/shopify/skills/shopify-liquid/scripts/validate.mjs:293–297  ·  view source on GitHub ↗
(uri)

Source from the content-addressed store, hash-verified

291 this.theme = theme;
292 }
293 async readFile(uri) {
294 const file = this.theme[uri];
295 if (!file) throw new Error(`File not found: ${uri}`);
296 return file;
297 }
298 async readDirectory() {
299 return [];
300 }

Callers 15

getScriptSnapshotFunction · 0.80
findTypesForPackageFunction · 0.80
loadTypeFileWithImportsFunction · 0.80
getScriptSnapshotFunction · 0.80
findTypesForPackageFunction · 0.80
loadTypeFileWithImportsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected