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

Function displayName

packages/plugins/keychain/src/keyring.ts:21–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 process.platform === "darwin" || process.platform === "linux" || process.platform === "win32";
20
21export const displayName = () =>
22 process.platform === "darwin"
23 ? "macOS Keychain"
24 : process.platform === "win32"
25 ? "Windows Credential Manager"
26 : "Desktop Keyring";
27
28export const resolveServiceName = (explicit?: string): string =>
29 explicit?.trim() || process.env[SERVICE_NAME_ENV]?.trim() || DEFAULT_SERVICE_NAME;

Callers 1

makeKeychainExtensionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected