(
repo: &atomic_repository::Repository,
path: &str,
)
| 173 | } |
| 174 | |
| 175 | fn projected( |
| 176 | repo: &atomic_repository::Repository, |
| 177 | path: &str, |
| 178 | ) -> atomic_core::output::InodeMaterialization { |
| 179 | let projection = repo |
| 180 | .projected_attributes_on_view_excluding(path, "main", &[]) |
| 181 | .unwrap() |
| 182 | .unwrap_or_else(|| panic!("no projected attributes for {path}")); |
| 183 | assert!( |
| 184 | !projection.is_conflicted(), |
| 185 | "path {path} must not have conflicted attribute registers" |
| 186 | ); |
| 187 | projection.materialization |
| 188 | } |
| 189 | |
| 190 | /// Stable, dependency-free digest of a file's raw bytes: FNV-1a over the |
| 191 | /// bytes plus the byte length (empty digest when absent). |
no test coverage detected