MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / canonicalConfigKey

Function canonicalConfigKey

src/resolution/frameworks/java.ts:501–503  ·  view source on GitHub ↗

Spring's relaxed binding (`cache-list` ↔ `cacheList` ↔ `cache_list` ↔ * `CACHE_LIST`) collapses on lowercase + dash/underscore removal. We compare * candidate keys to a reference in this canonical form.

(key: string)

Source from the content-addressed store, hash-verified

499 * `CACHE_LIST`) collapses on lowercase + dash/underscore removal. We compare
500 * candidate keys to a reference in this canonical form. */
501function canonicalConfigKey(key: string): string {
502 return key.toLowerCase().replace(/[-_]/g, '');
503}
504
505// Directory patterns
506const SERVICE_DIRS = ['/service/', '/services/'];

Callers 1

resolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected