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

Function toFileName

test/fixtures/snapshot/typescript.js:123018–123021  ·  view source on GitHub ↗
(file, fileNameConvertor)

Source from the content-addressed store, hash-verified

123016 }
123017 ts.fileIncludeReasonToDiagnostics = fileIncludeReasonToDiagnostics;
123018 function toFileName(file, fileNameConvertor) {
123019 var fileName = ts.isString(file) ? file : file.fileName;
123020 return fileNameConvertor ? fileNameConvertor(fileName) : fileName;
123021 }
123022 /**
123023 * Helper that emit files, report diagnostics and lists emitted and/or source files depending on compiler options
123024 */

Callers 3

explainFilesFunction · 0.85
explainIfFileIsRedirectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…