detect_local_repo

Function detect_local_repo 

Source
pub(super) fn detect_local_repo() -> Option<PathBuf>
Expand description

Detect if we are running from the local repository.

Returns Some(path) if we are in a dev environment or running a release build from within the source repo (e.g. make setup). Returns None if we are running a standalone binary (e.g. installed via cargo install, downloaded, or bundled as a macOS/Linux app).