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

Function isPhpIncludePathRef

src/resolution/import-resolver.ts:2220–2226  ·  view source on GitHub ↗
(ref: UnresolvedRef)

Source from the content-addressed store, hash-verified

2218 * to a same-named symbol — so callers must not fall back to the name-matcher.
2219 */
2220export function isPhpIncludePathRef(ref: UnresolvedRef): boolean {
2221 return (
2222 ref.language === 'php' &&
2223 ref.referenceKind === 'imports' &&
2224 (ref.referenceName.includes('/') || ref.referenceName.includes('.'))
2225 );
2226}
2227
2228/**
2229 * Is this a COBOL COPY / EXEC SQL INCLUDE copybook reference? These resolve

Callers 3

resolveOneInnerMethod · 0.90
resolution.test.tsFile · 0.90
resolveViaImportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected