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

Function readAll

packages/plugins/file-secrets/src/index.ts:130–135  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

128};
129
130const readAll = (filePath: string): Effect.Effect<Record<string, string>, StorageError> =>
131 readAuthFile(filePath).pipe(
132 Effect.catchTag("AuthFileDecodeError", (cause) =>
133 Effect.fail(new StorageError({ message: cause.message, cause })),
134 ),
135 );
136
137const writeAll = (
138 filePath: string,

Callers 1

makeFileProviderFunction · 0.85

Calls 1

readAuthFileFunction · 0.70

Tested by

no test coverage detected