Skip to main content

find_repo_root

Function find_repo_root 

Source
pub fn find_repo_root(start: &Path) -> Option<PathBuf>
Expand description

Finds the repository root containing the canonical app and script directories.

§Parameters

§Returns

Returns Some when crate::binaries::find_repo_root can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::binaries::find_repo_root(todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.