MCPcopy Index your code
hub / github.com/ether/etherpad / addChild

Method addChild

src/node/utils/SettingsTree.ts:9–11  ·  view source on GitHub ↗
(key: string, value: string)

Source from the content-addressed store, hash-verified

7 }
8
9 public addChild(key: string, value: string) {
10 this.children.set(key, new SettingsNode(key, value));
11 }
12
13 public removeChild(key: string) {
14 this.children.delete(key);

Callers 1

Calls 1

setMethod · 0.80

Tested by

no test coverage detected