Hydrate canonical graph data without changing the working files.
(&self, view: &str, live: &BTreeMap<u64, String>)
| 80 | |
| 81 | /// Hydrate canonical graph data without changing the working files. |
| 82 | fn hydrate(&self, view: &str, live: &BTreeMap<u64, String>) { |
| 83 | hydrate_cache(&self.host, &self.cache, view); |
| 84 | for (&inode, path) in live.iter().filter(|(inode, _)| **inode != 0) { |
| 85 | let claim = self.cache.resolve_single_path_claim(view, path).unwrap(); |
| 86 | assert_eq!(claim.map(|(_, inode, _)| inode.get()), Some(inode)); |
| 87 | } |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | /// Dependencies discovered while importing changes are fetched before the |
no test coverage detected