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

Function canonicalConfigKey

src/resolution/frameworks/java.ts:527–529  ·  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

525 * `CACHE_LIST`) collapses on lowercase + dash/underscore removal. We compare
526 * candidate keys to a reference in this canonical form. */
527function canonicalConfigKey(key: string): string {
528 return key.toLowerCase().replace(/[-_]/g, '');
529}
530
531// Directory patterns
532const SERVICE_DIRS = ['/service/', '/services/'];

Callers 1

resolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected