MCPcopy Index your code
hub / github.com/nodejs/node / getAllFileNames

Function getAllFileNames

test/fixtures/snapshot/typescript.js:119945–119951  ·  view source on GitHub ↗

* Gets the names of all files from the program

(state, programOfThisState)

Source from the content-addressed store, hash-verified

119943 * Gets the names of all files from the program
119944 */
119945 function getAllFileNames(state, programOfThisState) {
119946 if (!state.allFileNames) {
119947 var sourceFiles = programOfThisState.getSourceFiles();
119948 state.allFileNames = sourceFiles === ts.emptyArray ? ts.emptyArray : sourceFiles.map(function (file) { return file.fileName; });
119949 }
119950 return state.allFileNames;
119951 }
119952 /**
119953 * Gets the files referenced by the the file path
119954 */

Callers 1

getAllDependenciesFunction · 0.85

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected