From 1eae3cdd93fec0907e9450b4aaa791c7c2d845a1 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Sun, 11 Jul 2021 08:33:27 +0100 Subject: Made Link::install_destination a pub function. --- dotup/src/depot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { &self.destination } - fn install_destination(&self, install_base: &Path) -> std::io::Result { + pub fn install_destination(&self, install_base: &Path) -> std::io::Result { utils::weakly_canonical(install_base.join(self.destination())) } } -- cgit