diff options
| author | diogo464 <[email protected]> | 2021-07-11 08:33:27 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2021-07-11 08:37:27 +0100 |
| commit | 1eae3cdd93fec0907e9450b4aaa791c7c2d845a1 (patch) | |
| tree | c4d79973574525c82f82b6fa9c359f4021f9e916 | |
| parent | ba510f16fac463672caa6cc60b0f878151238a93 (diff) | |
Made Link::install_destination a pub function.
| -rw-r--r-- | dotup/src/depot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotup/src/depot.rs b/dotup/src/depot.rs index 823dfa4..6abe29f 100644 --- a/dotup/src/depot.rs +++ b/dotup/src/depot.rs | |||
| @@ -132,7 +132,7 @@ impl Link { | |||
| 132 | &self.destination | 132 | &self.destination |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | fn install_destination(&self, install_base: &Path) -> std::io::Result<PathBuf> { | 135 | pub fn install_destination(&self, install_base: &Path) -> std::io::Result<PathBuf> { |
| 136 | utils::weakly_canonical(install_base.join(self.destination())) | 136 | utils::weakly_canonical(install_base.join(self.destination())) |
| 137 | } | 137 | } |
| 138 | } | 138 | } |
