MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / templatePathFor

Function templatePathFor

src/resolution/frameworks/angular-router.ts:1118–1120  ·  view source on GitHub ↗
(componentFile: string, templateUrl: string)

Source from the content-addressed store, hash-verified

1116
1117/** For the template synthesizer: a template file's path, from the component file that names it. */
1118export function templatePathFor(componentFile: string, templateUrl: string): string {
1119 return path.posix.normalize(path.posix.join(path.posix.dirname(componentFile), templateUrl));
1120}

Callers 1

componentsInFunction · 0.90

Calls 2

normalizeMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected