pub fn sanitize_git_ref_onelevel(text: &str) -> String
Expand description
Rules obtained from git-check-ref-format.
This function sanitizes git refs with the assumption that --allow-onelevel
is true.
pub fn sanitize_git_ref_onelevel(text: &str) -> String
Rules obtained from git-check-ref-format.
This function sanitizes git refs with the assumption that --allow-onelevel
is true.