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

Function root_from

atomic-cli/src/commands/rpc.rs:7766–7768  ·  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

7764/// Resolve the repository root from an explicit path argument (the Reactor
7765/// always passes the canonical root).
7766pub fn root_from(path: &Path) -> CliResult<PathBuf> {
7767 crate::commands::find_repository_root_from(path)
7768}
7769
7770#[cfg(test)]
7771mod change_ledger_tests {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected