MCPcopy
hub / github.com/GooseMod/OpenAsar / set

Method set

src/appSettings.js:27–29  ·  view source on GitHub ↗
(k, v)

Source from the content-addressed store, hash-verified

25 }
26
27 set(k, v) {
28 this.store[k] = v;
29 }
30
31 save() {
32 if (this.mod && this.mod !== this.getMod()) return; // File was last modified after Settings was made, so was externally edited therefore we don't save over

Callers 4

recordMethod · 0.80
_sendRequestMethod · 0.80
_commitModulesInnerMethod · 0.80
index.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected