MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / GitReference

Enum GitReference

flow-quickstart/src/git.rs:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37/// Information to find a specific commit in a Git repository.
38#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
39pub enum GitReference {
40 /// From a branch.
41 Branch(String),
42 /// The default branch of the repository, the reference named `HEAD`.
43 DefaultBranch,
44}
45
46pub struct GitConfig<'a> {
47 remote: Cow<'a, str>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected