MCPcopy
hub / github.com/colbymchenry/codegraph / join

Method join

src/extraction/tree-sitter.ts:3324–3324  ·  view source on GitHub ↗
(prefix: string, seg: string)

Source from the content-addressed store, hash-verified

3322 private emitRustUseBindingRefs(node: SyntaxNode, fromNodeId: string): void {
3323 const paths: { text: string; node: SyntaxNode }[] = [];
3324 const join = (prefix: string, seg: string): string => (prefix ? `${prefix}::${seg}` : seg);
3325 const collect = (n: SyntaxNode, prefix: string): void => {
3326 switch (n.type) {
3327 case 'identifier':

Callers 15

constructorMethod · 0.80
openMethod · 0.80
openSyncMethod · 0.80
getCodeGraphDirFunction · 0.80
isInitializedFunction · 0.80
looksLikeProjectRootFunction · 0.80
walkFunction · 0.80
planFrontloadFunction · 0.80
createDirectoryFunction · 0.80
walkDirFunction · 0.80
ensureSubdirectoryFunction · 0.80
validateDirectoryFunction · 0.80

Calls

no outgoing calls

Tested by 15

writeFunction · 0.64
writeFunction · 0.64
addSubmoduleFunction · 0.64
addBareGitlinkFunction · 0.64
writeConfigFunction · 0.64
setupFunction · 0.64
mkTmpFunction · 0.64
makeConsumerFunction · 0.64
writeFakeLibFunction · 0.64
installPlatformPackageFunction · 0.64
requireSdkFunction · 0.64
readLockPidFunction · 0.64