MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / root_from

Function root_from

atomic-cli/src/commands/rpc.rs:7854–7856  ·  view source on GitHub ↗

Resolve the repository root from an explicit path argument (the Reactor always passes the canonical root).

(path: &Path)

Source from the content-addressed store, hash-verified

7852/// Resolve the repository root from an explicit path argument (the Reactor
7853/// always passes the canonical root).
7854pub fn root_from(path: &Path) -> CliResult<PathBuf> {
7855 crate::commands::find_repository_root_from(path)
7856}
7857
7858#[cfg(test)]
7859mod change_ledger_tests {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected