MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / set

Method set

common/src/global_variable.ts:4–6  ·  view source on GitHub ↗
(k: string, v: any)

Source from the content-addressed store, hash-verified

2 public static readonly map = new Map<string, any>();
3
4 public static set(k: string, v: any) {
5 GlobalVariable.map.set(k, v);
6 }
7
8 public static get(k: string, def?: any) {
9 if (GlobalVariable.map.has(k)) {

Callers 15

dockerPortsParseFunction · 0.45
_addCallbackMethod · 0.45
arrayUniqueFunction · 0.45
useIframeEventListenerFunction · 0.45
iframeEventDispatchFunction · 0.45
appendMethod · 0.45
changeIdMethod · 0.45
sendRequestMethod · 0.45
loadModsFunction · 0.45
getSummaryPackagesFunction · 0.45
constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected