pub fn validate_refs(
repository: &(impl Repository + ?Sized),
) -> Result<(), Error>Expand description
Validate a repository’s advertised refs, symbolic links and HEAD state. Names must be valid, sorted, unique, free of path conflicts, and include a resolved symbolic HEAD’s branch. Unborn HEAD’s target must be absent. Object identities and graph closure are checked separately by the validator.