aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/repository
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/repository')
-rw-r--r--crates/shirabe/src/repository/filesystem_repository.rs2
-rw-r--r--crates/shirabe/src/repository/vcs/fossil_driver.rs2
-rw-r--r--crates/shirabe/src/repository/vcs/git_driver.rs2
-rw-r--r--crates/shirabe/src/repository/vcs/hg_driver.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/crates/shirabe/src/repository/filesystem_repository.rs b/crates/shirabe/src/repository/filesystem_repository.rs
index 1949803b..b8ee30c6 100644
--- a/crates/shirabe/src/repository/filesystem_repository.rs
+++ b/crates/shirabe/src/repository/filesystem_repository.rs
@@ -644,7 +644,7 @@ impl FilesystemRepository {
let install_path = if package.as_root().is_some() {
let to = self.filesystem.borrow_mut().normalize_path(
- &realpath(&Platform::get_cwd(false).unwrap_or_default()).unwrap_or_default(),
+ &realpath(Platform::get_cwd(false).unwrap_or_default()).unwrap_or_default(),
);
Some(
self.filesystem
diff --git a/crates/shirabe/src/repository/vcs/fossil_driver.rs b/crates/shirabe/src/repository/vcs/fossil_driver.rs
index a75f6874..1b61ed4d 100644
--- a/crates/shirabe/src/repository/vcs/fossil_driver.rs
+++ b/crates/shirabe/src/repository/vcs/fossil_driver.rs
@@ -123,7 +123,7 @@ impl FossilDriver {
let mut fs = Filesystem::new(None);
fs.ensure_directory_exists(&self.checkout_dir)?;
- if !is_writable(&dirname(&self.checkout_dir)) {
+ if !is_writable(dirname(&self.checkout_dir)) {
return Err(RuntimeException {
message: format!(
"Can not clone {} to access package information. The \"{}\" directory is not writable by the current user.",
diff --git a/crates/shirabe/src/repository/vcs/git_driver.rs b/crates/shirabe/src/repository/vcs/git_driver.rs
index d3d489f2..1376ebbc 100644
--- a/crates/shirabe/src/repository/vcs/git_driver.rs
+++ b/crates/shirabe/src/repository/vcs/git_driver.rs
@@ -95,7 +95,7 @@ impl GitDriver {
let mut fs = Filesystem::new(None);
fs.ensure_directory_exists(&dirname(&self.repo_dir))?;
- if !is_writable(&dirname(&self.repo_dir)) {
+ if !is_writable(dirname(&self.repo_dir)) {
return Err(RuntimeException {
message: format!(
"Can not clone {} to access package information. The \"{}\" directory is not writable by the current user.",
diff --git a/crates/shirabe/src/repository/vcs/hg_driver.rs b/crates/shirabe/src/repository/vcs/hg_driver.rs
index a346094c..0283ed38 100644
--- a/crates/shirabe/src/repository/vcs/hg_driver.rs
+++ b/crates/shirabe/src/repository/vcs/hg_driver.rs
@@ -69,7 +69,7 @@ impl HgDriver {
let mut fs = Filesystem::new(None);
fs.ensure_directory_exists(&cache_vcs_dir)?;
- if !is_writable(&dirname(&self.repo_dir)) {
+ if !is_writable(dirname(&self.repo_dir)) {
return Err(RuntimeException {
message: format!(
"Can not clone {} to access package information. The \"{}\" directory is not writable by the current user.",