diff options
Diffstat (limited to 'cli/tools/vendor/test.rs')
-rw-r--r-- | cli/tools/vendor/test.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/tools/vendor/test.rs b/cli/tools/vendor/test.rs index c5e98c05e..d54bf5dc5 100644 --- a/cli/tools/vendor/test.rs +++ b/cli/tools/vendor/test.rs @@ -144,10 +144,6 @@ struct TestVendorEnvironment { } impl VendorEnvironment for TestVendorEnvironment { - fn cwd(&self) -> Result<PathBuf, AnyError> { - Ok(make_path("/")) - } - fn create_dir_all(&self, dir_path: &Path) -> Result<(), AnyError> { let mut directories = self.directories.borrow_mut(); for path in dir_path.ancestors() { @@ -169,10 +165,6 @@ impl VendorEnvironment for TestVendorEnvironment { ); Ok(()) } - - fn path_exists(&self, path: &Path) -> bool { - self.files.borrow().contains_key(&path.to_path_buf()) - } } pub struct VendorOutput { |