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

Function loadWebRoot

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

Source from the content-addressed store, hash-verified

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