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

Function isToolSyncHealth

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

Source from the content-addressed store, hash-verified

2078 b("name", "=", String(ref.name)),
2079 );
2080 const isToolSyncHealth = (health: HealthCheckResult | null): boolean =>
2081 health?.detail?.startsWith(toolSyncHealthDetailPrefix) === true;
2082 const syncedSet = (row: ConnectionRow | null) => {
2083 const health = row ? Option.getOrNull(decodeLastHealth(row.last_health)) : null;
2084 return isToolSyncHealth(health)

Callers 1

syncedSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected