MCPcopy Index your code
hub / github.com/encounter/objdiff / build_globset

Function build_globset

objdiff-core/src/config/mod.rs:322–328  ·  view source on GitHub ↗
(vec: &[Glob])

Source from the content-addressed store, hash-verified

320}
321
322pub 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")]
331pub fn apply_project_options(

Callers 2

post_updateMethod · 0.85
run_interactiveFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected