MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code /

Class

packages/pi-tui/src/undo-stack.ts:7–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5 * directly (no re-cloning) since they are already detached.
6 */
7export class UndoStack<S> {
8 private stack: S[] = [];
9
10 /** Push a deep clone of the given state onto the stack. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected