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

Function readValidRegistryEntryAtPath

src/daemon/daemon-registry.ts:145–151  ·  view source on GitHub ↗
(
  registryPath: string,
  expectedWorkspaceKey?: string,
)

Source from the content-addressed store, hash-verified

143}
144
145function readValidRegistryEntryAtPath(
146 registryPath: string,
147 expectedWorkspaceKey?: string,
148): DaemonRegistryEntry | null {
149 const result = readRegistryEntryAtPath(registryPath, expectedWorkspaceKey);
150 return result.status === 'valid' ? result.entry : null;
151}
152
153function writeFileAtomicSync(filePath: string, content: string): void {
154 const dir = dirname(filePath);

Callers 1

Calls 1

readRegistryEntryAtPathFunction · 0.85

Tested by

no test coverage detected