MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / comparable

Function comparable

packages/agent-core/src/tools/policies/sensitive.ts:44–46  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

42const SENSITIVE_DOT_VARIANT_SUFFIX_SET = new Set<string>(SENSITIVE_DOT_VARIANT_SUFFIXES);
43
44function comparable(path: string): string {
45 return path.toLowerCase();
46}
47
48export function isSensitiveFile(path: string): boolean {
49 const name = basename(path);

Callers 1

isSensitiveFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected