Expand description
Stage or discard selected Git changes interactively.
ยงErrors
- Git operations or user interaction fails.
Structsยง
- OpIter
- An iterator over the variants of Op
- Renderable
GitStatus Entry - Newtype wrapper adding colored
Displayfor aytil_git::GitStatusEntry.
Enumsยง
- Op
- High-level Git working tree/index operations exposed by the UI.
Functionsยง
- add_
entries ๐ - Add the provided entries to the Git index (equivalent to
git addon each path). - main ๐
- Stage or discard selected Git changes interactively.
- restore_
entries ๐ - Delete newly created paths then restore modified paths.
- write_
index_ ๐symbol - Write an index state symbol directly to the formatter, avoiding
.to_string()allocations. - write_
worktree_ ๐symbol - Write a worktree state symbol directly to the formatter, avoiding
.to_string()allocations.