pub struct RealFileSystem;Expand description
The operating system’s filesystem.
Trait Implementations§
Source§impl Clone for RealFileSystem
impl Clone for RealFileSystem
impl Copy for RealFileSystem
Source§impl Debug for RealFileSystem
impl Debug for RealFileSystem
Source§impl Default for RealFileSystem
impl Default for RealFileSystem
impl Eq for RealFileSystem
Source§impl FileSystem for RealFileSystem
impl FileSystem for RealFileSystem
Source§fn walk_markdown(&self, root: &Path) -> Result<Vec<String>>
fn walk_markdown(&self, root: &Path) -> Result<Vec<String>>
§4.2: every regular file named
*.md at any depth under root,
skipping IGNORED_DIRS, depth-first with each directory’s entries
in bytewise name order.Source§fn stat(&self, root: &Path, path: &str) -> Result<Option<FileStat>>
fn stat(&self, root: &Path, path: &str) -> Result<Option<FileStat>>
(mtime_ns, size) of path under root; None when absent.Source§impl PartialEq for RealFileSystem
impl PartialEq for RealFileSystem
impl StructuralPartialEq for RealFileSystem
Auto Trait Implementations§
impl Freeze for RealFileSystem
impl RefUnwindSafe for RealFileSystem
impl Send for RealFileSystem
impl Sync for RealFileSystem
impl Unpin for RealFileSystem
impl UnsafeUnpin for RealFileSystem
impl UnwindSafe for RealFileSystem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.