diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-22 07:35:24 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-22 15:45:04 +0000 |
| commit | 91a68de459b7d22a8dfb8a324e43740fca3e0a35 (patch) | |
| tree | 43c35999b928b04bba4ce4d9d9252133c69bffde /src/git.rs | |
| parent | ec1d5ca85891ddb083fb2c0e484d5ebf0be9d13f (diff) | |
chore: nix flake update
update nix dependancies to latest version using default update options
Diffstat (limited to 'src/git.rs')
| -rw-r--r-- | src/git.rs | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -45,9 +45,11 @@ pub trait RepoActions { | |||
| 45 | fn get_commit_parent(&self, commit: &Sha1Hash) -> Result<Sha1Hash>; | 45 | fn get_commit_parent(&self, commit: &Sha1Hash) -> Result<Sha1Hash>; |
| 46 | fn get_commit_message(&self, commit: &Sha1Hash) -> Result<String>; | 46 | fn get_commit_message(&self, commit: &Sha1Hash) -> Result<String>; |
| 47 | fn get_commit_message_summary(&self, commit: &Sha1Hash) -> Result<String>; | 47 | fn get_commit_message_summary(&self, commit: &Sha1Hash) -> Result<String>; |
| 48 | #[allow(clippy::doc_link_with_quotes)] | ||
| 48 | /// returns vector ["name", "email", "unixtime", "offset"] | 49 | /// returns vector ["name", "email", "unixtime", "offset"] |
| 49 | /// eg ["joe bloggs", "joe@pm.me", "12176","-300"] | 50 | /// eg ["joe bloggs", "joe@pm.me", "12176","-300"] |
| 50 | fn get_commit_author(&self, commit: &Sha1Hash) -> Result<Vec<String>>; | 51 | fn get_commit_author(&self, commit: &Sha1Hash) -> Result<Vec<String>>; |
| 52 | #[allow(clippy::doc_link_with_quotes)] | ||
| 51 | /// returns vector ["name", "email", "unixtime", "offset"] | 53 | /// returns vector ["name", "email", "unixtime", "offset"] |
| 52 | /// eg ["joe bloggs", "joe@pm.me", "12176","-300"] | 54 | /// eg ["joe bloggs", "joe@pm.me", "12176","-300"] |
| 53 | fn get_commit_comitter(&self, commit: &Sha1Hash) -> Result<Vec<String>>; | 55 | fn get_commit_comitter(&self, commit: &Sha1Hash) -> Result<Vec<String>>; |
| @@ -1681,7 +1683,7 @@ mod tests { | |||
| 1681 | let mut events = generate_cover_letter_and_patch_events( | 1683 | let mut events = generate_cover_letter_and_patch_events( |
| 1682 | Some(("test".to_string(), "test".to_string())), | 1684 | Some(("test".to_string(), "test".to_string())), |
| 1683 | &git_repo, | 1685 | &git_repo, |
| 1684 | &vec![oid_to_sha1(&oid1), oid_to_sha1(&oid2), oid_to_sha1(&oid3)], | 1686 | &[oid_to_sha1(&oid1), oid_to_sha1(&oid2), oid_to_sha1(&oid3)], |
| 1685 | &TEST_KEY_1_KEYS, | 1687 | &TEST_KEY_1_KEYS, |
| 1686 | &RepoRef::try_from(generate_repo_ref_event()).unwrap(), | 1688 | &RepoRef::try_from(generate_repo_ref_event()).unwrap(), |
| 1687 | &None, | 1689 | &None, |