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

Method unflatten

minecommit/src/lib.rs:48–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 }
47
48 pub fn unflatten(self) -> Result<()> {
49 let mut save = LocalFsOdb::from_dir(self.save_dir.to_owned());
50 let repo = LocalFsOdb::from_dir(self.storage_dir.to_owned());
51
52 for crafter in CrafterImpl::get_crafters(self.extra_patterns, self.ignore_patterns) {
53 crafter.unflatten(&mut save, &repo)?;
54 }
55
56 Ok(())
57 }
58
59 pub fn commit(
60 self,

Callers 2

mainFunction · 0.45
checkoutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected