refactor: added RepoKinds enum
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
d8197b2731
commit
83d2458b37
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,
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Eq, Serialize, Deserialize, Debug)]
|
||||
#[non_exhaustive]
|
||||
pub enum RepoKinds {
|
||||
GitRepo,
|
||||
GitHubRepo,
|
||||
GitLabRepo,
|
||||
GiteaRepo,
|
||||
UrlRepo,
|
||||
Link,
|
||||
}
|
||||
|
||||
/// Represents the config.toml file.
|
||||
///
|
||||
/// For diagrams of the underlying architecture, consult ARCHITECHTURE.md
|
||||
|
|
Loading…
Reference in a new issue