The target view's members via the read-only API (hash-authoritative).
(root: &Path, view: &str)
| 229 | |
| 230 | /// The target view's members via the read-only API (hash-authoritative). |
| 231 | fn view_members(root: &Path, view: &str) -> Vec<String> { |
| 232 | use atomic_core::types::Base32; |
| 233 | let repo = atomic_repository::Repository::open_readonly(root).expect("open atomic"); |
| 234 | repo.effective_history(Some(view)) |
| 235 | .expect("effective history") |
| 236 | .iter() |
| 237 | .map(|entry| entry.hash.to_base32()) |
| 238 | .collect() |
| 239 | } |
| 240 | |
| 241 | fn transfer_to_client(publisher: &Path, remote_dir: &Path, client: &Path) { |
| 242 | let run_git = |dir: &Path, args: &[&str], context: &str| { |
no test coverage detected