Skip to main content

probe_root

Function probe_root 

Source
pub fn probe_root(store: &Path) -> PathBuf
Expand description

The directory probes run from: store paths are root-relative, so a probe’s working directory is the project root (the parent of the .ct directory holding the store), regardless of where the tool was invoked. For a --file outside a .ct directory, the file’s own directory.