pub fn resolve_repository_snapshot( root_path: impl AsRef<Path>, ref_selector: &str, ) -> Result<(String, String), CodeIndexError>
Resolves a repository ref selector to the exact commit and tree hash.