(&mut self, index: usize)
| 625 | } |
| 626 | |
| 627 | pub fn remove_stash(&mut self, index: usize) -> bool { |
| 628 | if index >= self.stash.len() { |
| 629 | return false; |
| 630 | } |
| 631 | self.stash.remove(index); |
| 632 | store_stash(&self.stash_path, &self.stash); |
| 633 | true |
| 634 | } |
| 635 | |
| 636 | pub fn load_stash(&mut self, index: usize) -> bool { |
| 637 | let Some(entry) = self.stash.get(index) else { |
no test coverage detected