Recompute the contents hash after modifying contents.
(&mut self)
| 291 | |
| 292 | /// Recompute the contents hash after modifying contents. |
| 293 | pub fn finalize(&mut self) { |
| 294 | self.hashed.contents_hash = Hash::of(&self.contents); |
| 295 | } |
| 296 | |
| 297 | /// Set all hashed lifecycle/origin facts and validate them together. |
| 298 | pub fn with_classification( |
no outgoing calls