Get the commit message if a header is loaded.
(&self)
| 166 | |
| 167 | /// Get the commit message if a header is loaded. |
| 168 | pub fn message(&self) -> Option<&str> { |
| 169 | self.header.as_ref().map(|h| h.message.as_str()) |
| 170 | } |
| 171 | |
| 172 | /// Get the description if a header is loaded. |
| 173 | pub fn description(&self) -> Option<&str> { |