pub struct VersionManager { /* private fields */ }Expand description
Manages version updates across the workspace.
Implementations§
Source§impl VersionManager
impl VersionManager
Sourcepub fn new(workspace_root: impl AsRef<Path>) -> Self
pub fn new(workspace_root: impl AsRef<Path>) -> Self
Create a new version manager for the workspace.
Sourcepub fn bump_versions(
&self,
bump_type: BumpType,
dry_run: bool,
) -> Result<Vec<VersionChange>>
pub fn bump_versions( &self, bump_type: BumpType, dry_run: bool, ) -> Result<Vec<VersionChange>>
Bump versions across all embeddenator packages.
Sourcepub fn check_consistency(&self) -> Result<VersionReport>
pub fn check_consistency(&self) -> Result<VersionReport>
Check for version inconsistencies across the workspace.
Auto Trait Implementations§
impl Freeze for VersionManager
impl RefUnwindSafe for VersionManager
impl Send for VersionManager
impl Sync for VersionManager
impl Unpin for VersionManager
impl UnwindSafe for VersionManager
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