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

Function isPhpIncludePathRef

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

Source from the content-addressed store, hash-verified

1909 * to a same-named symbol — so callers must not fall back to the name-matcher.
1910 */
1911export function isPhpIncludePathRef(ref: UnresolvedRef): boolean {
1912 return (
1913 ref.language === 'php' &&
1914 ref.referenceKind === 'imports' &&
1915 (ref.referenceName.includes('/') || ref.referenceName.includes('.'))
1916 );
1917}
1918
1919/**
1920 * 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