[−][src]Function git_odb::alternate::resolve
pub fn resolve(objects_directory: impl Into<PathBuf>) -> Result<Vec<Db>, Error>
Given an objects directory, try to resolve alternate object directories possibly located in the
./info/alternates file.
If no alternate object database was resolved, the reesulting Vec is empty, and it is not an error
if there are no alternates, or if there is a cycle while there is at least one valid alternate.