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

Function isPhpIncludePathRef

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

Source from the content-addressed store, hash-verified

1970 * to a same-named symbol — so callers must not fall back to the name-matcher.
1971 */
1972export function isPhpIncludePathRef(ref: UnresolvedRef): boolean {
1973 return (
1974 ref.language === 'php' &&
1975 ref.referenceKind === 'imports' &&
1976 (ref.referenceName.includes('/') || ref.referenceName.includes('.'))
1977 );
1978}
1979
1980/**
1981 * 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