We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cap_primitives
1 parent 8aa7c94 commit ae8c65eCopy full SHA for ae8c65e
cap-std/src/fs/dir.rs
@@ -241,7 +241,7 @@ impl Dir {
241
/// This corresponds to [`std::fs::metadata`], but only accesses paths
242
/// relative to `self`.
243
#[inline]
244
- pub fn metadata<P: AsRef<Path>>(&self, path: P) -> io::Result<cap_primitives::fs::Metadata> {
+ pub fn metadata<P: AsRef<Path>>(&self, path: P) -> io::Result<Metadata> {
245
stat(&self.std_file, path.as_ref(), FollowSymlinks::Yes)
246
}
247
0 commit comments