pub enum Shipcheck {
Absent,
NotInstalled,
Outdated,
Available,
}Expand description
Whether the agent tests through shipcheck: the repo opts in and the shipcheck on PATH
has commit. An older shipcheck gets the plain workflow step
Variants§
Implementations§
Source§impl Shipcheck
impl Shipcheck
pub async fn detect(work_dir: &Path) -> Self
Sourcepub fn for_prompt(self, sandboxed: bool, hands_off: bool) -> Self
pub fn for_prompt(self, sandboxed: bool, hands_off: bool) -> Self
What the prompt offers. Inside the OS sandbox shipcheck hands its runs to its daemon, and without that the agent runs the checks itself and the push hook runs shipcheck outside
Sourcepub async fn in_sandbox(self, sandboxed: bool, work_dir: &Path) -> Self
pub async fn in_sandbox(self, sandboxed: bool, work_dir: &Path) -> Self
Self::for_prompt, asking the installed shipcheck whether its daemon serves this worktree
Trait Implementations§
impl Copy for Shipcheck
impl Eq for Shipcheck
impl StructuralPartialEq for Shipcheck
Auto Trait Implementations§
impl Forget for Shipcheck
impl Freeze for Shipcheck
impl Move for Shipcheck
impl RefUnwindSafe for Shipcheck
impl Send for Shipcheck
impl Sync for Shipcheck
impl Unpin for Shipcheck
impl UnsafeUnpin for Shipcheck
impl UnwindSafe for Shipcheck
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more