pub struct Layout {
pub roots: Vec<Utf8PathBuf>,
pub state_root: Utf8PathBuf,
pub receipt: Utf8PathBuf,
pub legacy_receipt: Utf8PathBuf,
pub legacy_shared: Utf8PathBuf,
}Expand description
Where one run writes: the agent roots, the state root, and the receipt.
Fields§
§roots: Vec<Utf8PathBuf>The agent skill roots this run was asked to touch, deduplicated.
state_root: Utf8PathBufWhere this tool keeps state that outlives a command.
receipt: Utf8PathBufThe receipt vouching for every user-scope file this tool wrote.
legacy_receipt: Utf8PathBufThe receipt at the home-relative path, read once as a fallback.
The retired shared root, swept rather than written.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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