diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-27 16:56:20 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-02-11 18:40:48 +0100 |
commit | 263413b4570a090222d3ed7927fe7b05a2b86147 (patch) | |
tree | 00a949c1734b061581eda12cfe09d05d0c83f53d /src/filestore | |
parent | 733058f55fa11ccdba17bb9480b02d34dcf4b9de (diff) |
Make function pub, so we can use it elsewhere
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/filestore')
-rw-r--r-- | src/filestore/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filestore/path.rs b/src/filestore/path.rs index a03ab83..60d8e56 100644 --- a/src/filestore/path.rs +++ b/src/filestore/path.rs @@ -139,7 +139,7 @@ impl AsRef<Path> for ArtifactPath { pub struct FullArtifactPath<'a>(&'a StoreRoot, &'a ArtifactPath); impl<'a> FullArtifactPath<'a> { - fn joined(&self) -> PathBuf { + pub fn joined(&self) -> PathBuf { self.0 .0.join(&self.1 .0) } |