forc_pkg::source

Module git

Source

Structs§

Pinned
A pinned instance of a git source.
Source
A git repo with a Forc.toml manifest at its root.
SourceIndex
Everything needed to recognize a checkout in offline mode
Url

Enums§

PinnedParseError
Error returned upon failed parsing of Pinned::from_str.
Reference
Used to distinguish between types of git references.

Functions§

commit_path
The path to which a git package commit should be checked out.
fetch
Fetch the repo at the given git package’s URL and checkout the pinned commit.
pin
Pin the given git-sourced package.