(&mut self, condition: Option<bool>)
| 440 | } |
| 441 | |
| 442 | fn start_new_file(&mut self, condition: Option<bool>) -> FileContext { |
| 443 | if condition == Some(true) || self.opts.split_interfaces { |
| 444 | FileContext { |
| 445 | includes: std::mem::take(&mut self.includes), |
| 446 | src: std::mem::take(&mut self.h_src), |
| 447 | dependencies: std::mem::take(&mut self.dependencies), |
| 448 | } |
| 449 | } else { |
| 450 | Default::default() |
| 451 | } |
| 452 | } |
| 453 | |
| 454 | fn finish_file(&mut self, namespace: &[String], store: FileContext) { |
| 455 | if !store.src.src.is_empty() { |
no outgoing calls
no test coverage detected