diff options
Diffstat (limited to 'src/filestore')
-rw-r--r-- | src/filestore/path.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/filestore/path.rs b/src/filestore/path.rs index 60d8e56..c26b9c6 100644 --- a/src/filestore/path.rs +++ b/src/filestore/path.rs @@ -139,6 +139,10 @@ impl AsRef<Path> for ArtifactPath { pub struct FullArtifactPath<'a>(&'a StoreRoot, &'a ArtifactPath); impl<'a> FullArtifactPath<'a> { + pub fn artifact_path(&self) -> &ArtifactPath { + self.1 + } + pub fn joined(&self) -> PathBuf { self.0 .0.join(&self.1 .0) } |