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

Function writeFile

packages/core/schematics/utils/project_tsconfig_paths.ts:78–80  ·  view source on GitHub ↗
(path: string, data: string)

Source from the content-addressed store, hash-verified

76 return virtualFs.fileBufferToString(data);
77 },
78 async writeFile(path: string, data: string): Promise<void> {
79 return tree.overwrite(path, data);
80 },
81 async isDirectory(path: string): Promise<boolean> {
82 // Approximate a directory check.
83 // We don't need to consider empty directories and hence this is a good enough approach.

Callers

nothing calls this directly

Calls 1

overwriteMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…