Versions in this module Expand all Collapse all v0 v0.1.0 Jul 14, 2026 Changes in this version + var ErrNoUndo = errors.New("no undo records available") + type Record struct + Content string + Existed bool + ID string + Path string + Time time.Time + Tool string + func Push(workspace, tool, targetPath string, existed bool, content []byte) (Record, error) + type RestoreReport struct + Action string + Bytes int + ID string + Kind string + Path string + Remaining int + Removed bool + Restored bool + Status string + Tool string + func RestoreLast(workspace string) (RestoreReport, error)