pub fn accept(repository: &str, reference: &str) -> Result<(), GitError>Expand description
Validate that a repository URL is a credential-free https:// URL and a
reference is a full refs/... name. Returns the reason on refusal.
ยงErrors
GitError::Unsupported naming what was rejected.