Set the prefix filter. # Arguments `prefix` - Path prefix to filter # Example ```rust use atomic_core::output::repo::TreeCollectOptions; let opts = TreeCollectOptions::new().prefix("src/"); assert_eq!(opts.prefix, "src/"); ```
(mut self, prefix: impl Into<String>)
| 170 | /// assert_eq!(opts.prefix, "src/"); |
| 171 | /// ``` |
| 172 | pub fn prefix(mut self, prefix: impl Into<String>) -> Self { |
| 173 | self.prefix = prefix.into(); |
| 174 | self |
| 175 | } |
| 176 | |
| 177 | /// Set whether to include hidden files. |
| 178 | /// |
no outgoing calls