Skip to main content

discover_workdir

Function discover_workdir 

Source
pub async fn discover_workdir(start_dir: impl AsRef<Path>) -> Result<PathBuf>
Expand description

ยงErrors

Returns an error when git repository discovery fails, the repository is bare, or the blocking discovery task cannot be joined.