MCPcopy Create free account
hub / github.com/dataease/SQLBot / add

Method add

frontend/public/swagger-ui-bundle.js:52348–52356  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

52346 get size() {
52347 return this.refs.length
52348 }
52349 add(s) {
52350 return (
52351 this.has(s) ||
52352 (this.refs.push(s),
52353 (this.rootRef = void 0 === this.rootRef ? s : this.rootRef),
52354 (s.refSet = this)),
52355 this
52356 )
52357 }
52358 merge(s) {
52359 for (const o of s.values()) this.add(o)

Callers 1

mergeMethod · 0.95

Calls 2

hasMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected