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

Function joinRel

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

Source from the content-addressed store, hash-verified

684}
685
686function joinRel(dir: string, rel: string): string {
687 return dir ? `${dir}/${rel}` : rel;
688}
689
690/** Whether `dir` is `scope` or inside it. */
691function 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