MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / set

Method set

src/lib/acode.js:330–335  ·  view source on GitHub ↗
(target, prop, value, receiver)

Source from the content-addressed store, hash-verified

328
329 const configProxy = new Proxy(config, {
330 set(target, prop, value, receiver) {
331 console.warn(
332 `[Security Alert] Attempt to modify read-only config property '${String(prop)}' blocked.`,
333 );
334 return true;
335 },
336 defineProperty(target, prop, descriptor) {
337 console.warn(
338 `[Security Alert] Attempt to define property '${String(prop)}' on read-only config blocked.`,

Callers 15

onDeviceReadyFunction · 0.80
ensureDefaultMoreOptionFunction · 0.80
addMoreOptionMethod · 0.80
createTerminalMethod · 0.80
registerThemeMethod · 0.80
showLspStatusFunction · 0.80
updateLspStatusFunction · 0.80
buildSearchContentFunction · 0.80
toggleMethod · 0.80
setCacheFunction · 0.80
addFunction · 0.80

Calls 1

StringInterface · 0.85

Tested by

no test coverage detected