Set whether to collect files. # Arguments `collect` - Whether to include files in results # Example ```rust use atomic_core::output::repo::TreeCollectOptions; let opts = TreeCollectOptions::new().collect_files(false); assert!(!opts.collect_files); ```
(mut self, collect: bool)
| 246 | /// assert!(!opts.collect_files); |
| 247 | /// ``` |
| 248 | pub fn collect_files(mut self, collect: bool) -> Self { |
| 249 | self.collect_files = collect; |
| 250 | self |
| 251 | } |
| 252 | |
| 253 | /// Add an exclude pattern. |
| 254 | /// |
no outgoing calls