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

Function loadWebRoot

src/project-config.ts:449–451  ·  view source on GitHub ↗
(rootDir: string)

Source from the content-addressed store, hash-verified

447 * project's includes where they settle it; see resolution/php-web-root.ts).
448 */
449export function loadWebRoot(rootDir: string): string | null {
450 return loadParsedConfig(rootDir).webRoot;
451}
452
453/** Test/maintenance hook: forget cached config (e.g. after rewriting it in a test). */
454export function clearProjectConfigCache(): void {

Callers 6

resolvePhpIncludePathFunction · 0.90
moduleConfigDigestFunction · 0.90
phpWebRootOfMethod · 0.90
getPhpWebRootSnapshotMethod · 0.90
webRootOfFunction · 0.90

Calls 1

loadParsedConfigFunction · 0.85

Tested by 1

webRootOfFunction · 0.72