(&mut self)
| 617 | } |
| 618 | |
| 619 | pub fn pop_stash(&mut self) -> Option<PromptStashEntry> { |
| 620 | let entry = self.stash.pop(); |
| 621 | if entry.is_some() { |
| 622 | store_stash(&self.stash_path, &self.stash); |
| 623 | } |
| 624 | entry |
| 625 | } |
| 626 | |
| 627 | pub fn remove_stash(&mut self, index: usize) -> bool { |
| 628 | if index >= self.stash.len() { |
nothing calls this directly
no test coverage detected