pub struct Plan {
pub directories: Vec<Vec<u8>>,
pub directories_created: Vec<Vec<u8>>,
pub files: Vec<Planned>,
pub materialised: Vec<Planned>,
}Expand description
The work to do, once the racy paths have been settled and directories chosen.
Fields§
§directories: Vec<Vec<u8>>Subtrees to clone in a single call, topmost only, in tree order.
directories_created: Vec<Vec<u8>>Every directory those clones put on disk, roots included. A clone copies the source’s permissions, so each of these needs the ones a checkout would have given it.
files: Vec<Planned>Paths to clone one at a time, because no chosen directory covers them.
materialised: Vec<Planned>Every path the plan materialises, including those inside a cloned directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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