MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / set

Method set

packages/hydrooj/src/settings.ts:186–189  ·  view source on GitHub ↗
(self, p: string | symbol, newValue: any)

Source from the content-addressed store, hash-verified

184 return getAccess([...path, key]);
185 },
186 set(self, p: string | symbol, newValue: any) {
187 that.setConfig([...path, p].join(','), newValue);
188 return true;
189 },
190 });
191 };
192 return getAccess([]);

Callers

nothing calls this directly

Calls 1

setConfigMethod · 0.80

Tested by

no test coverage detected