Skip to content
Snippets Groups Projects
Unverified Commit 1d8fe2bb authored by Nikos Kontakis's avatar Nikos Kontakis
Browse files

Fix conflicts

parents 08722eb0 daf63939
Branches
No related merge requests found
......@@ -4,18 +4,15 @@ use std::{
hash_map::Entry::{Occupied, Vacant},
HashMap,
},
error::Error,
fmt::Debug,
io::ErrorKind,
path::{Path, PathBuf},
process::Stdio,
};
use async_trait::async_trait;
use serde::Serialize;
use support::fs::FileSystem;
use tokio::{
process::{Child, Command},
process::Command,
time::{sleep, Duration},
};
......
......@@ -28,7 +28,7 @@ pub enum MockError {
#[error(transparent)]
Other(#[from] Box<dyn std::error::Error + Sync + Send + 'static>),
}
#[derive(Debug)]
#[derive(Debug, Default)]
pub struct MockFilesystem {
copy_error: Option<MockError>, // Option<Box<dyn Error + Send + Sync>>,
create_dir_error: Option<MockError>, // Option<Box<dyn Error + Send + Sync>>,
......@@ -39,12 +39,6 @@ pub struct MockFilesystem {
pub operations: Vec<Operation>,
}
impl Default for MockFilesystem {
fn default() -> Self {
Self::new()
}
}
impl MockFilesystem {
pub fn new() -> Self {
Self::default()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment