MCPcopy
hub / github.com/angular/angular-cli / join

Function join

packages/angular_devkit/core/src/virtual-fs/path.ts:110–116  ·  view source on GitHub ↗
(p1: Path, ...others: string[])

Source from the content-addressed store, hash-verified

108 * normalized as well (but the original must be a path).
109 */
110export function join(p1: Path, ...others: string[]): Path {
111 if (others.length > 0) {
112 return normalize((p1 ? p1 + NormalizedSep : '') + others.join(NormalizedSep));
113 } else {
114 return p1;
115 }
116}
117
118/**
119 * Returns true if a path is absolute.

Callers 15

findModuleFromOptionsFunction · 0.90
findModuleFunction · 0.90
parseNameFunction · 0.90
index.tsFile · 0.90
addAppToWorkspaceFileFunction · 0.90
getAppOptionsFunction · 0.90
index.tsFile · 0.90
recursiveListMethod · 0.90
initializeMethod · 0.90
findUniqueFolderPathMethod · 0.90
moveFunction · 0.90

Calls 1

normalizeFunction · 0.85

Tested by

no test coverage detected