MCPcopy
hub / github.com/ChromeDevTools/chrome-devtools-mcp / writeFile

Function writeFile

scripts/post-build.ts:17–19  ·  view source on GitHub ↗

* Writes content to a file. * @param filePath The path to the file. * @param content The content to write.

(filePath: string, content: string)

Source from the content-addressed store, hash-verified

15 * @param content The content to write.
16 */
17function writeFile(filePath: string, content: string): void {
18 fs.writeFileSync(filePath, content, 'utf-8');
19}
20
21function main(): void {
22 const devtoolsThirdPartyPath =

Callers 3

mainFunction · 0.85
screenshot.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected