pub struct ClonedRepo {
pub temp_dir: TempDir,
pub path: PathBuf,
}Expand description
Result of cloning a repository.
Contains the temporary directory handle (which cleans up on drop) and the path to the cloned repository root.
Fields§
§temp_dir: TempDirThe temporary directory containing the clone. Dropping this will delete the cloned repository.
path: PathBufPath to the repository root within the temp directory.
Implementations§
Auto Trait Implementations§
impl Freeze for ClonedRepo
impl RefUnwindSafe for ClonedRepo
impl Send for ClonedRepo
impl Sync for ClonedRepo
impl Unpin for ClonedRepo
impl UnsafeUnpin for ClonedRepo
impl UnwindSafe for ClonedRepo
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