pub struct CheckContext {
pub workdir: Workdir,
pub home: PathBuf,
pub codex_home: PathBuf,
pub agent: Agent,
pub mode: TracingMode,
pub server_url: Option<String>,
pub credential: CredentialState,
}Expand description
Everything the checks look at, gathered once.
Fields§
§workdir: WorkdirWhere visdom runs. .tracevault/ and the git hooks belong to the
primary checkout.
home: PathBuf§codex_home: PathBuf$CODEX_HOME, or ~/.codex.
agent: Agent§mode: TracingMode§server_url: Option<String>The tracing server this project (or the login) points at.
credential: CredentialStateTrait Implementations§
Source§impl Clone for CheckContext
impl Clone for CheckContext
Auto Trait Implementations§
impl Forget for CheckContext
impl Freeze for CheckContext
impl Move for CheckContext
impl RefUnwindSafe for CheckContext
impl Send for CheckContext
impl Sync for CheckContext
impl Unpin for CheckContext
impl UnsafeUnpin for CheckContext
impl UnwindSafe for CheckContext
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