pub struct FakeGitClient {
pub cloned: RefCell<Vec<(String, PathBuf)>>,
pub pulled: RefCell<Vec<PathBuf>>,
pub should_fail: bool,
}Expand description
Records git operations without executing them.
Fields§
§cloned: RefCell<Vec<(String, PathBuf)>>§pulled: RefCell<Vec<PathBuf>>§should_fail: boolImplementations§
Source§impl FakeGitClient
impl FakeGitClient
Trait Implementations§
Source§impl Default for FakeGitClient
impl Default for FakeGitClient
Auto Trait Implementations§
impl !Freeze for FakeGitClient
impl !RefUnwindSafe for FakeGitClient
impl !Sync for FakeGitClient
impl Send for FakeGitClient
impl Unpin for FakeGitClient
impl UnsafeUnpin for FakeGitClient
impl UnwindSafe for FakeGitClient
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