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>.