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