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

Function normalizeSecretId

packages/react/src/plugins/secret-id.tsx:12–12  ·  view source on GitHub ↗
(secretId: string)

Source from the content-addressed store, hash-verified

10}
11
12const normalizeSecretId = (secretId: string): string => secretId.trim();
13
14export function isSecretIdTaken(secretId: string, existingSecretIds: Iterable<string>): boolean {
15 const normalizedId = normalizeSecretId(secretId);

Callers 1

isSecretIdTakenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected