Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
set
Method · 0.95
checkStatus
Method · 0.95
loadFromConfig
Method · 0.95
resume
Method · 0.95
updateTranslatorSetting
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected