MCPcopy Index your code
hub / github.com/SoCreate/angular-playground / constructPath

Function constructPath

projects/schematics/src/utils/paths.ts:1–4  ·  view source on GitHub ↗
(parts: string[], isAbsolute = false)

Source from the content-addressed store, hash-verified

1export const constructPath = (parts: string[], isAbsolute = false) => {
2 const filteredParts = parts.filter(part => !!part);
3 return `${isAbsolute ? '/' : ''}${filteredParts.join('/')}`;
4};

Callers 3

updateAppInWorkspaceFileFunction · 0.90
updateAppInWorkspaceFileFunction · 0.90
addAppToWorkspaceFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected