feat(status): relative path of obj
This commit is contained in:
1 parent
e66dc8d408
commit
8f636b4bf7
6 files changed
+107
-24
No files matched your search
@@ -66,6 +66,13 @@ impl ClientTest {
|
||||
Config::from(Some(&self.volume))
|
||||
}
|
||||
|
||||
pub fn new_config(&self, path: &str) -> Config {
|
||||
let mut full_path = self.volume.clone();
|
||||
full_path.push_str("/");
|
||||
full_path.push_str(path);
|
||||
Config::from(Some(&full_path))
|
||||
}
|
||||
|
||||
pub fn ok(self) -> io::Result<()> {
|
||||
fs::remove_dir_all(&self.volume)?;
|
||||
Ok(())
|
||||
|
||||
Reference in new issue
Block a user