MCPcopy
hub / github.com/subquery/subql / getManifestData

Function getManifestData

packages/cli/src/controller/generate-controller.ts:390–393  ·  view source on GitHub ↗
(manifestPath: string)

Source from the content-addressed store, hash-verified

388};
389
390export async function getManifestData(manifestPath: string): Promise<Document> {
391 const existingManifest = await fs.promises.readFile(path.join(manifestPath), 'utf8');
392 return parseDocument(existingManifest);
393}
394
395export function prependDatasources(dsStr: string, toPendStr: string): string {
396 if (dsStr.trim().startsWith('[') && dsStr.trim().endsWith(']')) {

Callers 2

generateAdapterFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected