Skip to main content

normalize_commit_ref

Function normalize_commit_ref 

Source
pub fn normalize_commit_ref(s: &str) -> String
Expand description

Strip the GitHub commit URL prefix if present. https://github.com/owner/repo/commit/abc123...abc123...