MCPcopy Create free account
hub / github.com/HairlessVillager/minecommit / unflatten

Method unflatten

minecommit/src/handler/ignore.rs:26–39  ·  view source on GitHub ↗
(
        self,
        _save: &mut impl OdbWriter,
        storage: &impl OdbReader,
    )

Source from the content-addressed store, hash-verified

24 }
25
26 fn unflatten(
27 self,
28 _save: &mut impl OdbWriter,
29 storage: &impl OdbReader,
30 ) -> Result<Vec<String>> {
31 let mut processed = Vec::new();
32 for pattern in &self.ignore_patterns {
33 for key in storage.glob(pattern)? {
34 log::info!("Ignore file {key}");
35 processed.push(key);
36 }
37 }
38 Ok(processed)
39 }
40}

Callers

nothing calls this directly

Calls 1

globMethod · 0.45

Tested by

no test coverage detected