MCPcopy Create free account
hub / github.com/EvoMap/evolver / sanitizeObjectKey

Function sanitizeObjectKey

src/gep/cliContracts.js:933–936  ·  view source on GitHub ↗
(key, deps, secrets)

Source from the content-addressed store, hash-verified

931}
932
933function sanitizeObjectKey(key, deps, secrets) {
934 const clean = redactKnownSecretsInString(redactString(String(key)), deps, secrets);
935 return clean || '[REDACTED]';
936}
937
938function uniqueObjectKey(target, key) {
939 if (!Object.prototype.hasOwnProperty.call(target, key)) return key;

Callers 1

redactKnownSecretsFunction · 0.85

Calls 2

redactStringFunction · 0.85

Tested by

no test coverage detected