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

Function isPhpIncludePathRef

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

Source from the content-addressed store, hash-verified

714 * to a same-named symbol — so callers must not fall back to the name-matcher.
715 */
716export function isPhpIncludePathRef(ref: UnresolvedRef): boolean {
717 return (
718 ref.language === 'php' &&
719 ref.referenceKind === 'imports' &&
720 (ref.referenceName.includes('/') || ref.referenceName.includes('.'))
721 );
722}
723
724/**
725 * Is this a COBOL COPY / EXEC SQL INCLUDE copybook reference? These resolve

Callers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected