MCPcopy Index your code
hub / github.com/angular/angular-cli / writeFile

Method writeFile

packages/angular/cli/src/package-managers/host.ts:83–83  ·  view source on GitHub ↗

* Writes content to a file. * @param path The path to the file. * @param content The content to write. * @returns A promise that resolves when the write is complete.

(path: string, content: string)

Source from the content-addressed store, hash-verified

81 * @returns A promise that resolves when the write is complete.
82 */
83 writeFile(path: string, content: string): Promise<void>;
84
85 /**
86 * Spawns a child process and returns a promise that resolves with the process's

Callers 12

writeFileFunction · 0.65
acquireTempPackageMethod · 0.65
setupConditionImportFunction · 0.65
setTargetMappingFunction · 0.65
writeFileMethod · 0.65
writeFilesMethod · 0.65
writeFileFunction · 0.65
windowsTestsFunction · 0.65
completion.tsFile · 0.65

Implementers 1

MockHostpackages/angular/cli/src/package-manag

Calls

no outgoing calls

Tested by

no test coverage detected