MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isToolSyncHealth

Function isToolSyncHealth

packages/core/sdk/src/executor.ts:2438–2439  ·  view source on GitHub ↗
(health: HealthCheckResult | null)

Source from the content-addressed store, hash-verified

2436 b("name", "=", String(ref.name)),
2437 );
2438 const isToolSyncHealth = (health: HealthCheckResult | null): boolean =>
2439 health?.detail?.startsWith(toolSyncHealthDetailPrefix) === true;
2440 const syncedSet = (row: ConnectionRow | null) => {
2441 const health = row ? Option.getOrNull(decodeLastHealth(row.last_health)) : null;
2442 return isToolSyncHealth(health)

Callers 1

syncedSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected