cargo::sources::git::source

Function ident

source
fn ident(id: &SourceId) -> String
Expand description

Create an identifier from a URL, essentially turning proto://host/path/repo into repo-<hash-of-url>.