2023-06-13 10:22:37 +02:00
|
|
|
use crate::service::FormValue;
|
2022-08-19 10:34:37 +02:00
|
|
|
|
2023-06-13 10:22:37 +02:00
|
|
|
#[derive(Clone, Copy)]
|
2019-11-25 17:27:16 +01:00
|
|
|
pub struct RepoInfo<'a> {
|
|
|
|
pub commit_url: &'a str,
|
|
|
|
pub commits: u64,
|
2020-11-24 19:06:49 +01:00
|
|
|
pub base_url: &'a str,
|
2019-11-25 17:27:16 +01:00
|
|
|
pub head: &'a str,
|
|
|
|
pub hoc: u64,
|
|
|
|
pub hoc_pretty: &'a str,
|
|
|
|
pub path: &'a str,
|
|
|
|
pub url: &'a str,
|
2020-07-20 20:14:22 +02:00
|
|
|
pub branch: &'a str,
|
2019-11-25 17:27:16 +01:00
|
|
|
}
|
2022-08-19 10:34:37 +02:00
|
|
|
|
|
|
|
pub struct RepoGeneratorInfo<'a> {
|
2023-06-13 10:22:37 +02:00
|
|
|
pub service: FormValue,
|
2022-08-19 10:34:37 +02:00
|
|
|
pub user: &'a str,
|
|
|
|
pub repo: &'a str,
|
|
|
|
pub branch: &'a str,
|
|
|
|
}
|