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

Function applyToAText

src/static/js/Changeset.ts:1060–1063  ·  view source on GitHub ↗
(cs: string, atext: AText, pool: AttributePool)

Source from the content-addressed store, hash-verified

1058 * @returns {AText}
1059 */
1060export const applyToAText = (cs: string, atext: AText, pool: AttributePool): AText => ({
1061 text: applyToText(cs, atext.text),
1062 attribs: applyToAttribution(cs, atext.attribs, pool),
1063});
1064
1065/**
1066 * Clones a AText structure.

Callers 7

makeChangesetTrackerFunction · 0.90
_createDiffAtextMethod · 0.90
sanitiseImportedRecordsFunction · 0.90
appendRevisionMethod · 0.90
checkMethod · 0.90

Calls 2

applyToTextFunction · 0.85
applyToAttributionFunction · 0.85

Tested by

no test coverage detected