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

Function isPhpIncludePathRef

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

Source from the content-addressed store, hash-verified

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