MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / setMark

Function setMark

src/lib/actionStack.js:133–135  ·  view source on GitHub ↗

* Sets a mark to recently pushed action

()

Source from the content-addressed store, hash-verified

131 * Sets a mark to recently pushed action
132 */
133 setMark() {
134 mark = stack.length;
135 },
136 /**
137 * Remove all actions that are pushed after marked positions (using `setMark()`)
138 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected