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

Function read

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

Source from the content-addressed store, hash-verified

437 Effect.gen(function* () {
438 const dir = asDirectory(directory);
439 const read = (externalId: string) =>
440 admin.getSubjectWithConnections(externalId).pipe(Effect.mapError(readFailed("user")));
441
442 const subject = yield* identifier.includes("@")
443 ? Effect.gen(function* () {

Callers 3

selectByEmailFunction · 0.70
selectBySearchFunction · 0.70
getUserFunction · 0.70

Calls 1

readFailedFunction · 0.85

Tested by

no test coverage detected