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

Function getDirectoryCid

packages/cli/src/controller/publish-controller.ts:233–236  ·  view source on GitHub ↗
(fileToCidMap: Map<string, string>)

Source from the content-addressed store, hash-verified

231}
232
233export function getDirectoryCid(fileToCidMap: Map<string, string>): string | undefined {
234 const directoryCid = fileToCidMap.get('');
235 return directoryCid;
236}

Calls 1

getMethod · 0.65

Tested by

no test coverage detected