MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / resetResourceRootCacheForTests

Function resetResourceRootCacheForTests

src/core/resource-root.ts:9–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7let cachedResourceRoot: string | null = null;
8
9export function resetResourceRootCacheForTests(): void {
10 cachedPackageRoot = null;
11 cachedResourceRoot = null;
12}
13
14function hasResourceLayout(root: string): boolean {
15 return fs.existsSync(path.join(root, 'manifests')) || fs.existsSync(path.join(root, 'bundled'));

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected