Module cargo::sources::git::source

source ·
Expand description

See GitSource.

Structs

  • GitSource contains one or more packages gathering from a Git repository. Under the hood it uses PathSource to discover packages inside the repository.

Functions

  • ident 🔒
    Create an identifier from a URL, essentially turning proto://host/path/repo into repo-<hash-of-url>.
  • Like ident(), but appends -shallow to it, turning proto://host/path/repo into repo-<hash-of-url>-shallow.