MCPcopy Create free account
hub / github.com/Freaky/Compactor / globset

Method globset

src/config.rs:119–125  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

117
118impl Config {
119 pub fn globset(&self) -> Result<GlobSet, String> {
120 let mut globs = GlobSetBuilder::new();
121 for glob in &self.excludes {
122 globs.add(Glob::new(glob).map_err(|e| e.to_string())?);
123 }
124 globs.build().map_err(|e| e.to_string())
125 }
126}
127
128#[test]

Callers 4

test_configFunction · 0.80
it_walksFunction · 0.80
spawn_guiFunction · 0.80
scan_loopMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_configFunction · 0.64
it_walksFunction · 0.64