Recompute the contents hash after modifying contents.
(&mut self)
| 281 | |
| 282 | /// Recompute the contents hash after modifying contents. |
| 283 | pub fn finalize(&mut self) { |
| 284 | self.hashed.contents_hash = Hash::of(&self.contents); |
| 285 | } |
| 286 | |
| 287 | /// Set all hashed lifecycle/origin facts and validate them together. |
| 288 | pub fn with_classification( |
no outgoing calls