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

Function joinRel

src/resolution/import-resolver.ts:670–672  ·  view source on GitHub ↗
(dir: string, rel: string)

Source from the content-addressed store, hash-verified

668}
669
670function joinRel(dir: string, rel: string): string {
671 return dir ? `${dir}/${rel}` : rel;
672}
673
674/** Whether `dir` is `scope` or inside it. */
675function isWithin(dir: string, scope: string): boolean {

Callers 7

buildPythonModuleIndexFunction · 0.85
addFunction · 0.85
declaredPythonRootsFunction · 0.85
pythonModuleAtFunction · 0.85
pythonModuleUnderFunction · 0.85
pythonHeadKindFunction · 0.85
resolvePythonModuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected