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

Function dirname

packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts:63–65  ·  view source on GitHub ↗
(file: T)

Source from the content-addressed store, hash-verified

61 * Static access to `dirname`.
62 */
63export function dirname<T extends PathString>(file: T): T {
64 return fs.dirname(file);
65}
66
67/**
68 * Static access to `join`.

Callers 15

emitMethod · 0.90
logical.tsFile · 0.90
moveFileFunction · 0.90
constructorMethod · 0.90
makeProgramFunction · 0.90
relativePathBetweenFunction · 0.90
dirnameMethod · 0.85
createProgramOptionsFunction · 0.85
analyzeDecoratorsFunction · 0.85
remapRelativeImportFunction · 0.85
getRelativeImportPathFunction · 0.85

Calls 1

dirnameMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…