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

Function normalizeForHeuristic

apps/kimi-code/src/cli/update/source.ts:48–50  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

46const HOMEBREW_PATH_SEGMENT = '/cellar/';
47
48function normalizeForHeuristic(filePath: string): string {
49 return filePath.replaceAll('\\', '/').toLowerCase();
50}
51
52/**
53 * Heuristic classification by package root path segments. Returns the

Callers 1

classifyByPathHeuristicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected