(host: &Repository, cache: &Repository, view: &str)
| 106 | } |
| 107 | |
| 108 | fn hydrate_cache(host: &Repository, cache: &Repository, view: &str) { |
| 109 | fetch_changes(host, cache, view); |
| 110 | let inodes = cache.sandbox_slice_inodes().unwrap(); |
| 111 | let slice = host.export_sandbox_slice(view, &inodes).unwrap(); |
| 112 | cache.import_sandbox_slice(&slice).unwrap(); |
| 113 | } |
| 114 | |
| 115 | fn assert_clean(repo: &Repository) { |
| 116 | let status = repo |
no test coverage detected