MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / getRule

Method getRule

src/common/configParser.ts:51–53  ·  view source on GitHub ↗
(key: Identifier)

Source from the content-addressed store, hash-verified

49 }
50
51 getRule(key: Identifier): Rule {
52 return <Rule>this.rules.get(key);
53 }
54
55 get<T>(key: Identifier): T {
56 return getConfigByKey(key) as T;

Callers 5

setMethod · 0.95
checkStatusMethod · 0.95
loadFromConfigMethod · 0.95
resumeMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected