MCPcopy
hub / github.com/rollup/rollup / readFile

Method readFile

src/rollup/types.d.ts:1170–1170  ·  view source on GitHub ↗
(
		path: string,
		options?: { encoding?: null; flag?: string | number; signal?: AbortSignal }
	)

Source from the content-addressed store, hash-verified

1168 readdir(path: string, options?: { withFileTypes: true }): Promise<RollupDirectoryEntry[]>;
1169
1170 readFile(
1171 path: string,
1172 options?: { encoding?: null; flag?: string | number; signal?: AbortSignal }
1173 ): Promise<Uint8Array>;

Callers 7

generateBundleFunction · 0.80
loadFunction · 0.80
optionsFunction · 0.80
loadFunction · 0.80
transformFunction · 0.80
addModuleSourceMethod · 0.80
lint-native-js.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected