MCPcopy Create free account
hub / github.com/emwalker/digraph / duplicate

Method duplicate

backend/src/git/core/mod.rs:103–105  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

101 }
102
103 pub fn duplicate(&self) -> Result<Self> {
104 Self::open(self.path.to_owned())
105 }
106
107 fn path_to_oid(&self, tree: git2::Tree, path: &mut VecDeque<String>) -> Option<git2::Oid> {
108 let name = path.pop_front()?;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected