MCPcopy
hub / github.com/stenciljs/core / readFile

Method readFile

src/declarations/stencil-public-compiler.ts:1293–1293  ·  view source on GitHub ↗

* Returns undefined if file is not found. Does not throw.

(p: string)

Source from the content-addressed store, hash-verified

1291 * Returns undefined if file is not found. Does not throw.
1292 */
1293 readFile(p: string): Promise<string>;
1294 readFile(p: string, encoding: 'utf8'): Promise<string>;
1295 readFile(p: string, encoding: 'binary'): Promise<any>;
1296 /**

Callers 15

startServerFunction · 0.80
readFileFunction · 0.80
readFileBufferFunction · 0.80
serveFileFunction · 0.80
setupHydrateAppFunction · 0.80
readPackageJsonFunction · 0.80
getMethod · 0.80
runPluginLoadFunction · 0.80
plugin.spec.tsFile · 0.80
generateTypesOutputFunction · 0.80
copyStencilCoreDtsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected