(root: &Path)
| 217 | } |
| 218 | |
| 219 | fn effective_hashes(root: &Path) -> Vec<String> { |
| 220 | use atomic_core::types::Base32; |
| 221 | let repo = atomic_repository::Repository::open_readonly(root).expect("open atomic"); |
| 222 | let view = repo.current_view().to_string(); |
| 223 | repo.effective_history(Some(&view)) |
| 224 | .expect("effective history") |
| 225 | .iter() |
| 226 | .map(|entry| entry.hash.to_base32()) |
| 227 | .collect() |
| 228 | } |
| 229 | |
| 230 | /// The target view's members via the read-only API (hash-authoritative). |
| 231 | fn view_members(root: &Path, view: &str) -> Vec<String> { |
no test coverage detected