MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / readString

Function readString

packages/db/src/task-queue.ts:1041–1043  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1039}
1040
1041function readString(value: unknown): string | undefined {
1042 return typeof value === "string" && value.trim() ? value : undefined;
1043}
1044
1045function readDaemonProvider(value: unknown): DaemonProvider | undefined {
1046 return typeof value === "string" && isDaemonProvider(value) ? value : undefined;

Callers 4

recordArtifactEventsFunction · 0.70
readResultSummaryFunction · 0.70
readStringFromTaskInputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected