pub async fn resolve_path_to_codebase(
path: &Path,
client: &ApiClient,
) -> Result<Option<ResolvedCodebase>, Box<dyn Error>>Expand description
Resolve a filesystem path to its codebase and live repos: read its origin
remote URL and ask the server. Ok(None) when the path has no remote or
the server has no matching codebase (pre-registered-only); an error when
the codebase is registered but has no live repo.