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

Method _createClearStartAtext

src/node/utils/padDiff.ts:92–103  ·  view source on GitHub ↗
(rev: any)

Source from the content-addressed store, hash-verified

90 }
91
92 async _createClearStartAtext(rev: any){
93 // get the atext of this revision
94 const atext = await this._pad.getInternalRevisionAText(rev);
95
96 // create the clearAuthorship changeset
97 const changeset = await this._createClearAuthorship(rev);
98
99 // apply the clearAuthorship changeset
100 const newAText = applyToAText(changeset, atext, this._pad.pool);
101
102 return newAText;
103 }
104 async _getChangesetsInBulk(startRev: any, count: any) {
105 // find out which revisions we need
106 const revisions = [];

Callers 1

_createDiffAtextMethod · 0.95

Calls 3

applyToATextFunction · 0.90

Tested by

no test coverage detected