MCPcopy Create free account
hub / github.com/breck7/scroll / getChangeHistory

Method getChangeHistory

external/.scrollLibs.js:17595–17597  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17593 redoStack.splice(0, redoStack.length)
17594 }
17595 getChangeHistory() {
17596 return this._getUndoStack().slice(0)
17597 }
17598 _getUndoStack() {
17599 if (!this._undoStack) this._undoStack = []
17600 return this._undoStack

Callers

nothing calls this directly

Calls 2

_getUndoStackMethod · 0.95
sliceMethod · 0.80

Tested by

no test coverage detected