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

Function joinRel

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

Source from the content-addressed store, hash-verified

691}
692
693function joinRel(dir: string, rel: string): string {
694 return dir ? `${dir}/${rel}` : rel;
695}
696
697/** Whether `dir` is `scope` or inside it. */
698function isWithin(dir: string, scope: string): boolean {

Callers 8

buildPythonModuleIndexFunction · 0.85
readFunction · 0.85
addFunction · 0.85
pythonImportRootAtFunction · 0.85
pythonModuleAtFunction · 0.85
pythonModuleUnderFunction · 0.85
pythonHeadKindFunction · 0.85
resolvePythonModuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected