MCPcopy Create free account
hub / github.com/angular/dev-infra / getRelativePath

Function getRelativePath

ng-dev/ts-circular-dependencies/index.ts:182–184  ·  view source on GitHub ↗

Gets the specified path relative to the base directory.

(baseDir: string, path: string)

Source from the content-addressed store, hash-verified

180
181/** Gets the specified path relative to the base directory. */
182function getRelativePath(baseDir: string, path: string) {
183 return convertPathToForwardSlash(relative(baseDir, path));
184}
185
186/** Converts the given reference chain to its string representation. */
187function convertReferenceChainToString(chain: ReferenceChain<string>) {

Callers 1

mainFunction · 0.85

Calls 1

Tested by

no test coverage detected