diff options
Diffstat (limited to 'src/filestore/path.rs')
-rw-r--r-- | src/filestore/path.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/filestore/path.rs b/src/filestore/path.rs index ab0655b..cfa999f 100644 --- a/src/filestore/path.rs +++ b/src/filestore/path.rs @@ -149,6 +149,12 @@ impl ArtifactPath { } } +impl AsRef<Path> for ArtifactPath { + fn as_ref(&self) -> &Path { + &self.0 + } +} + #[derive(Clone, Debug, PartialEq, Eq)] pub struct FullArtifactPath<'a>(&'a StoreRoot, &'a ArtifactPath); |