pub struct Filesystem {
pub case_insensitive: bool,
pub read: Access,
pub write: Access,
}Expand description
File access rules. Paths are absolute, slash-separated globs with ~ and
${project} already expanded once per spelling of each root (the home
directory and project as given and with their symlinks resolved).
Fields§
§case_insensitive: boolWhether paths compare case-insensitively (default macOS and Windows file systems).
read: AccessReads.
write: AccessWrites, creates, deletes and moves.
Trait Implementations§
Source§impl Clone for Filesystem
impl Clone for Filesystem
Source§impl Debug for Filesystem
impl Debug for Filesystem
impl Eq for Filesystem
Source§impl PartialEq for Filesystem
impl PartialEq for Filesystem
Source§impl Serialize for Filesystem
impl Serialize for Filesystem
impl StructuralPartialEq for Filesystem
Auto Trait Implementations§
impl Freeze for Filesystem
impl RefUnwindSafe for Filesystem
impl Send for Filesystem
impl Sync for Filesystem
impl Unpin for Filesystem
impl UnsafeUnpin for Filesystem
impl UnwindSafe for Filesystem
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.