| 44 | } |
| 45 | |
| 46 | pub struct GitConfig<'a> { |
| 47 | remote: Cow<'a, str>, |
| 48 | branch: GitReference, |
| 49 | kind: RepoKind, |
| 50 | identity: Option<PathBuf>, |
| 51 | } |
| 52 | |
| 53 | impl<'a> GitConfig<'a> { |
| 54 | /// Creates a new `GitConfig` by parsing `git` as a URL or a local path. |
nothing calls this directly
no outgoing calls
no test coverage detected