Expand description
Stash module - save and restore working tree changes
Stash allows saving the current working tree state (both staged and unstaged changes) to a special commit, then restoring it later. The stash stack is stored as:
.void/stash/meta.bin- Encrypted metadata (messages, timestamps, etc.).void/refs/stash/<index>- Commit CIDs for each stash entry
Structs§
- Stash
Entry - A single stash entry
- Stash
Stack - The stash stack containing all stash entries
Functions§
- clear_
stash - Clear all stash entries
- read_
stash_ stack - Read the stash stack from disk
- write_
stash_ stack - Write the stash stack to disk