pub enum Kind {
Parsed(Format),
Unchanged,
Unreadable,
}Expand description
How check treats a lockfile on a Version PR.
Not #[non_exhaustive]: verctl-release matches every variant
exhaustively.
Variants§
Parsed(Format)
verctl parses it, and only workspace versions may move.
Unchanged
It records no workspace version, so a Version PR leaves it unchanged:
pnpm-lock.yaml, poetry.lock, and pdm.lock.
Unreadable
verctl does not read it, so a Version PR that changes it fails:
yarn.lock and the binary bun.lockb.
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Forget for Kind
impl Freeze for Kind
impl Move for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.