Format the stash entry for display. Returns a human-readable string like: `stash@{0}: On dev: Fix authentication bug`
(&self)
| 221 | /// Returns a human-readable string like: |
| 222 | /// `stash@{0}: On dev: Fix authentication bug` |
| 223 | pub fn display(&self) -> String { |
| 224 | format!( |
| 225 | "{}: On {}: {}", |
| 226 | self.reference(), |
| 227 | self.source_view, |
| 228 | self.message |
| 229 | ) |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | impl std::fmt::Display for StashEntry { |
no outgoing calls