Read the content of the binary archive to the end
(&self)
| 133 | |
| 134 | /// Read the content of the binary archive to the end |
| 135 | pub fn read(&self) -> Result<Vec<u8>> { |
| 136 | read(&self.path) |
| 137 | .into_diagnostic() |
| 138 | .wrap_err("failed to read binary archive") |
| 139 | } |
| 140 | |
| 141 | /// Calculate the SHA256 hash of the zip binary file |
| 142 | pub fn sha256(&self) -> Result<String> { |
no outgoing calls