pub struct Paths {
pub config_root: PathBuf,
pub claude_dir: PathBuf,
pub project_root: Option<PathBuf>,
pub worktree_root: Option<PathBuf>,
}Expand description
Where the step reads and writes; Paths::current for real use, temp
dirs in tests.
Fields§
§config_root: PathBuf~/.config/tracevault: the install state lives here.
claude_dir: PathBuf~/.claude: global hooks and the telemetry settings.
project_root: Option<PathBuf>The session’s repository (primary checkout), if it runs in one.
worktree_root: Option<PathBuf>The linked worktree the session runs in, when it is not the primary
checkout: Claude Code reads that worktree’s .claude/ settings.
Implementations§
Auto Trait Implementations§
impl Forget for Paths
impl Freeze for Paths
impl Move for Paths
impl RefUnwindSafe for Paths
impl Send for Paths
impl Sync for Paths
impl Unpin for Paths
impl UnsafeUnpin for Paths
impl UnwindSafe for Paths
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