Remove Ref, RefGlob and Rev, add Glob that uses git-ref-format.

- Refactored branches(), tags(), namespaces().
- Added filtering for revision_branches().

Signed-off-by: Han Xu <keepsimple@gmail.com>
This commit is contained in:
Han Xu
2022-11-07 14:33:16 -08:00
parent 7a82c404c4
commit 35b9598a29
17 changed files with 404 additions and 688 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ pub struct Options {
pub allow_pattern: bool,
}
#[derive(Debug, Error)]
#[derive(Debug, PartialEq, Eq, Error)]
#[non_exhaustive]
pub enum Error {
#[error("empty input")]