summaryrefslogtreecommitdiffstats
path: root/src/filestore/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/filestore/path.rs')
-rw-r--r--src/filestore/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filestore/path.rs b/src/filestore/path.rs
index 4d75855..e8c7a26 100644
--- a/src/filestore/path.rs
+++ b/src/filestore/path.rs
@@ -143,7 +143,7 @@ pub struct FullArtifactPath<'a>(&'a StoreRoot, &'a ArtifactPath);
impl<'a> FullArtifactPath<'a> {
pub fn is_in_staging_store(&self, store: &StagingStore) -> bool {
- store.0.root == *self.0
+ store.0.root_path() == self.0
}
pub fn artifact_path(&self) -> &ArtifactPath {