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

Method _getKeyRevisionAText

src/node/db/Pad.ts:378–381  ·  view source on GitHub ↗

* @param {number} revNum - Must be a key revision number (see `getKeyRevisionNumber`). * @returns The attribute text stored at `revNum`.

(revNum: number)

Source from the content-addressed store, hash-verified

376 * @returns The attribute text stored at `revNum`.
377 */
378 async _getKeyRevisionAText(revNum: number) {
379 // @ts-ignore
380 return await this.db.getSub(`pad:${this.id}:revs:${revNum}`, ['meta', 'atext']);
381 }
382
383 /**
384 * Returns all authors that worked on this pad

Callers 2

checkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected