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

Function read

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

Source from the content-addressed store, hash-verified

359 Effect.gen(function* () {
360 const dir = asDirectory(directory);
361 const read = (externalId: string) =>
362 admin.getSubjectWithConnections(externalId).pipe(Effect.mapError(readFailed("user")));
363
364 const subject = yield* identifier.includes("@")
365 ? Effect.gen(function* () {

Callers 2

selectByEmailFunction · 0.70
getUserFunction · 0.70

Calls 1

readFailedFunction · 0.85

Tested by

no test coverage detected