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

Function getBaseNameOfFileName

test/fixtures/snapshot/typescript.js:115236–115238  ·  view source on GitHub ↗
(fileName)

Source from the content-addressed store, hash-verified

115234 return getCachedFileSystemEntries(ts.getDirectoryPath(path));
115235 }
115236 function getBaseNameOfFileName(fileName) {
115237 return ts.getBaseFileName(ts.normalizePath(fileName));
115238 }
115239 function createCachedFileSystemEntries(rootDir, rootDirPath) {
115240 var _a;
115241 if (!host.realpath || ts.ensureTrailingDirectorySeparator(toPath(host.realpath(rootDir))) === rootDirPath) {

Callers 5

writeFileFunction · 0.85
fileExistsFunction · 0.85
createDirectoryFunction · 0.85
addOrDeleteFileFunction · 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…