MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / has

Method has

server/src/cache.ts:33–35  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

31 }
32
33 has(key: string): boolean {
34 return this.get(key) !== undefined;
35 }
36
37 clear(): void {
38 this.cache.clear();

Callers 15

lintDocFunction · 0.80
stripGeneratedMetadataFunction · 0.80
renderFunction · 0.80
renderCatalogFunction · 0.80
loadSchemaFunction · 0.80
getValidatorFunction · 0.80
mainFunction · 0.80
lintFileFunction · 0.80
checkContractFixtureSyncFunction · 0.80
lintFileFunction · 0.80
lintFunction · 0.80

Calls 1

getMethod · 0.95

Tested by 14

loadAndCompileSchemaFunction · 0.64
loadSchemaFileFunction · 0.64
loadAndCompileSchemaFunction · 0.64
runTestsFunction · 0.64
validateCrossReferencesFunction · 0.64
extractKeywordsFunction · 0.64
withIdempotencyKeyFunction · 0.64
withIdempotencyKeyFunction · 0.64
withIdempotencyKeyFunction · 0.64
withIdempotencyKeyFunction · 0.64
getExternalParticipantsFunction · 0.64
withIdempotencyKeyFunction · 0.64