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

Method _addAuthors

src/node/utils/padDiff.ts:122–129  ·  view source on GitHub ↗
(authors: PadAuthor[])

Source from the content-addressed store, hash-verified

120 return {changesets, authors};
121 }
122 _addAuthors(authors: PadAuthor[]){
123 // add to array if not in the array
124 authors.forEach((author) => {
125 if (this._authors.indexOf(author) === -1) {
126 this._authors.push(author);
127 }
128 });
129 }
130 async _createDiffAtext(){
131 const bulkSize = 100;
132

Callers 1

_createDiffAtextMethod · 0.95

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected