pub struct Workdir {
pub start_dir: PathBuf,
pub checkout: Option<PathBuf>,
pub primary: Option<PathBuf>,
}Expand description
Where the agent is about to run.
Fields§
§start_dir: PathBufThe directory visdom was run in; the agent starts there.
checkout: Option<PathBuf>Top level of the git checkout around it. None outside a repository.
primary: Option<PathBuf>The repository’s primary checkout: the same as checkout, except in a
linked worktree.
Implementations§
Trait Implementations§
impl Eq for Workdir
impl StructuralPartialEq for Workdir
Auto Trait Implementations§
impl Forget for Workdir
impl Freeze for Workdir
impl Move for Workdir
impl RefUnwindSafe for Workdir
impl Send for Workdir
impl Sync for Workdir
impl Unpin for Workdir
impl UnsafeUnpin for Workdir
impl UnwindSafe for Workdir
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.