refactor: added RepoKinds enum
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
36ac077fe7
commit
674edc240e
1 changed files with 11 additions and 0 deletions
11
src/git.rs
11
src/git.rs
|
@ -52,6 +52,17 @@ pub enum RepoFlags {
|
||||||
Fast,
|
Fast,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(PartialEq, Eq, Serialize, Deserialize, Debug)]
|
||||||
|
#[non_exhaustive]
|
||||||
|
pub enum RepoKinds {
|
||||||
|
GitRepo,
|
||||||
|
GitHubRepo,
|
||||||
|
GitLabRepo,
|
||||||
|
GiteaRepo,
|
||||||
|
UrlRepo,
|
||||||
|
Link,
|
||||||
|
}
|
||||||
|
|
||||||
/// Represents the config.toml file.
|
/// Represents the config.toml file.
|
||||||
///
|
///
|
||||||
/// For diagrams of the underlying architecture, consult ARCHITECHTURE.md
|
/// For diagrams of the underlying architecture, consult ARCHITECHTURE.md
|
||||||
|
|
Loading…
Reference in a new issue