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

Method new

backend/src/git/client.rs:64–66  ·  view source on GitHub ↗
(root: PathBuf)

Source from the content-addressed store, hash-verified

62
63impl DataRoot {
64 pub fn new(root: PathBuf) -> Self {
65 Self { path: root }
66 }
67
68 pub fn repo_path(&self, repo_id: RepoId) -> PathBuf {
69 self.path.join(repo_id.relative_path())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected