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

Function createEntry

packages/plugins/keychain/src/keyring.ts:75–85  ·  view source on GitHub ↗
(serviceName: string, account: string)

Source from the content-addressed store, hash-verified

73 );
74
75const createEntry = (serviceName: string, account: string) =>
76 Effect.flatMap(loadEntry(), (Entry) =>
77 Effect.try({
78 try: () => new Entry(serviceName, account),
79 catch: (cause) =>
80 new KeychainError({
81 message: "Failed creating keyring entry",
82 cause,
83 }),
84 }),
85 );
86
87// ---------------------------------------------------------------------------
88// Low-level keychain operations

Callers 3

getPasswordFunction · 0.85
setPasswordFunction · 0.85
deletePasswordFunction · 0.85

Calls 1

loadEntryFunction · 0.85

Tested by

no test coverage detected