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.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filestore/path.rs b/src/filestore/path.rs
index 9b60401..b2f677b 100644
--- a/src/filestore/path.rs
+++ b/src/filestore/path.rs
@@ -87,10 +87,6 @@ impl ArtifactPath {
pub (in crate::filestore) fn file_stem(&self) -> Option<&OsStr> {
self.0.file_stem()
}
-
- pub (in crate::filestore) fn is_dir(&self) -> bool {
- self.0.is_dir()
- }
}
#[derive(Clone, Debug, PartialEq, Eq)]
@@ -105,6 +101,10 @@ impl<'a> FullArtifactPath<'a> {
self.joined().is_file()
}
+ pub (in crate::filestore) fn is_dir(&self) -> bool {
+ self.joined().is_dir()
+ }
+
pub fn display(&self) -> FullArtifactPathDisplay<'a> {
FullArtifactPathDisplay(self.0, self.1)
}