pub async fn rev_parse_toplevel( path: impl AsRef<Path>, ) -> Result<PathBuf, AppError>
Resolve the repository top-level path asynchronously.