refactor: added kind field to GitRepo
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
674edc240e
commit
ccf20d7363
2 changed files with 2 additions and 0 deletions
|
@ -111,6 +111,7 @@ pub struct GitRepo {
|
|||
pub url: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub flags: Option<Vec<RepoFlags>>,
|
||||
pub kind: Option<RepoKinds>,
|
||||
}
|
||||
|
||||
/// Represents a single operation on a repository
|
||||
|
|
|
@ -202,6 +202,7 @@ mod config {
|
|||
path: "/tmp".to_string(),
|
||||
url: "https://github.com/cafkafk/gg".to_string(),
|
||||
flags: Some(vec![Clone, Push]),
|
||||
kind: None,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue