pub fn resolve_repository_ref( root_path: impl AsRef<Path>, ref_selector: &str, ) -> Result<String, CodeIndexError>
Resolves a repository ref selector to the exact commit used by storage.