The last verified commit's RAW Git tree OID (HEAD-stability anchor).
(&self)
| 1159 | |
| 1160 | /// The last verified commit's RAW Git tree OID (HEAD-stability anchor). |
| 1161 | pub(crate) fn raw_git_tree(&self) -> Option<GitObjectId> { |
| 1162 | if let Some(stream) = &self.stream { |
| 1163 | return Some(stream.raw_tree.clone()); |
| 1164 | } |
| 1165 | self.commits |
| 1166 | .last() |
| 1167 | .map(|commit| commit.raw_tree_oid.clone()) |
| 1168 | } |
| 1169 | |
| 1170 | pub(crate) fn changed_paths(&self) -> Vec<PathBuf> { |
| 1171 | if let Some(stream) = &self.stream { |
no test coverage detected