MCPcopy
hub / github.com/MALSync/MALSync / get

Function get

test/src/utils/apiStub.ts:25–28  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

23 const api = {
24 settings: {
25 get(key) {
26 if (typeof init.settings[key] === 'undefined') throw key+' option not set';
27 return init.settings[key];
28 },
29 set(key, value) {
30 init.settings[key] = value;
31 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected