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

Function writeFiles

packages/compiler-cli/test/test_support.ts:96–102  ·  view source on GitHub ↗
(...mockDirs: {[fileName: string]: string}[])

Source from the content-addressed store, hash-verified

94 }
95
96 function writeFiles(...mockDirs: {[fileName: string]: string}[]) {
97 mockDirs.forEach((dir) => {
98 Object.keys(dir).forEach((fileName) => {
99 write(fileName, dir[fileName]);
100 });
101 });
102 }
103
104 function createCompilerOptions(overrideOptions: ng.CompilerOptions = {}): ng.CompilerOptions {
105 return {...defaultCompilerOptions, ...overrideOptions};

Callers

nothing calls this directly

Calls 3

writeFunction · 0.85
keysMethod · 0.65
forEachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…