Paul Campbell
c374076323
All checks were successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
9 lines
232 B
Rust
9 lines
232 B
Rust
use crate::Commit;
|
|
|
|
#[derive(Clone, Debug, Hash, PartialEq, Eq, derive_more::Display)]
|
|
pub struct GitRef(pub String);
|
|
impl From<Commit> for GitRef {
|
|
fn from(value: Commit) -> Self {
|
|
Self(value.sha().to_string())
|
|
}
|
|
}
|