(vec: &[Glob])
| 320 | } |
| 321 | |
| 322 | pub fn build_globset(vec: &[Glob]) -> Result<GlobSet, globset::Error> { |
| 323 | let mut builder = GlobSetBuilder::new(); |
| 324 | for glob in vec { |
| 325 | builder.add(glob.clone()); |
| 326 | } |
| 327 | builder.build() |
| 328 | } |
| 329 | |
| 330 | #[cfg(feature = "any-arch")] |
| 331 | pub fn apply_project_options( |
no test coverage detected