Method
flatten
(self, save: &impl OdbReader, _storage: &mut impl OdbWriter)
Source from the content-addressed store, hash-verified
| 13 | } |
| 14 | |
| 15 | fn flatten(self, save: &impl OdbReader, _storage: &mut impl OdbWriter) -> Result<Vec<String>> { |
| 16 | let mut processed = Vec::new(); |
| 17 | for pattern in &self.ignore_patterns { |
| 18 | for key in save.glob(pattern)? { |
| 19 | log::info!("Ignore file {key}"); |
| 20 | processed.push(key); |
| 21 | } |
| 22 | } |
| 23 | Ok(processed) |
| 24 | } |
| 25 | |
| 26 | fn unflatten( |
| 27 | self, |
Callers
nothing calls this directly
Tested by
no test coverage detected