refactor: added RepoKinds enum

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2023-07-17 11:01:46 +02:00
parent d8197b2731
commit 83d2458b37

View file

@ -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