(&self)
| 137 | } |
| 138 | |
| 139 | pub fn output_format(&self) -> &OutputFormat { |
| 140 | self.output_format.as_ref().unwrap_or(&OutputFormat::Binary) |
| 141 | } |
| 142 | |
| 143 | /// Returns the package name if there is only one package in the list of `packages`, |
| 144 | /// otherwise None. |