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

Function read

packages/core/api/src/admin/reads.ts:322–323  ·  view source on GitHub ↗
(externalId: string)

Source from the content-addressed store, hash-verified

320 Effect.gen(function* () {
321 const dir = asDirectory(directory);
322 const read = (externalId: string) =>
323 admin.getSubjectWithConnections(externalId).pipe(Effect.mapError(readFailed("user")));
324
325 const subject = yield* identifier.includes("@")
326 ? Effect.gen(function* () {

Callers 1

getUserFunction · 0.70

Calls 1

readFailedFunction · 0.85

Tested by

no test coverage detected