Struct git_calver::releaser::Releaser
source · pub struct Releaser<'a> { /* private fields */ }
Implementations§
source§impl<'a> Releaser<'a>
impl<'a> Releaser<'a>
pub fn new(repo: &Repository) -> Releaser<'_>
pub fn last_release(&self) -> Release
pub fn next_version(&self) -> CalVer
pub fn next_version_of(&self, current: CalVer) -> CalVer
pub fn is_releasable(&self) -> bool
pub fn bump(&self, message: &str, lightweught: bool) -> Result<CalVer, Error>
pub fn bump_to( &self, version: CalVer, message: &str, lightweught: bool ) -> Result<CalVer, Error>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Releaser<'a>
impl<'a> !Send for Releaser<'a>
impl<'a> !Sync for Releaser<'a>
impl<'a> Unpin for Releaser<'a>
impl<'a> UnwindSafe for Releaser<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more