Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MovingtoMars/liner
/ undo
Method
undo
src/buffer.rs:26–34 ·
view source on GitHub ↗
(&self, buf: &mut Buffer)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
7
revert
Method · 0.45
test_truncate_empty_undo
Function · 0.45
test_truncate_all_then_undo
Function · 0.45
test_truncate_end_then_undo
Function · 0.45
test_truncate_part_then_undo
Function · 0.45
handle_key_normal
Method · 0.45
handle_ctrl_key
Method · 0.45
Calls
6
remove_raw
Method · 0.80
len
Method · 0.80
insert_raw
Method · 0.80
is_empty
Method · 0.80
pop
Method · 0.80
push
Method · 0.45
Tested by
4
test_truncate_empty_undo
Function · 0.36
test_truncate_all_then_undo
Function · 0.36
test_truncate_end_then_undo
Function · 0.36
test_truncate_part_then_undo
Function · 0.36