[−][src]Struct czkawka_core::common_directory::Directories
Fields
excluded_directories: Vec<PathBuf>
included_directories: Vec<PathBuf>
Implementations
impl Directories
[src]
pub fn new() -> Self
[src]
pub fn set_included_directory(
&mut self,
included_directory: String,
text_messages: &mut Messages
) -> bool
[src]
&mut self,
included_directory: String,
text_messages: &mut Messages
) -> bool
Setting included directories, at least one must be provided
pub fn set_excluded_directory(
&mut self,
excluded_directory: String,
text_messages: &mut Messages
)
[src]
&mut self,
excluded_directory: String,
text_messages: &mut Messages
)
Setting absolute path to exclude
pub fn optimize_directories(
&mut self,
recursive_search: bool,
text_messages: &mut Messages
) -> bool
[src]
&mut self,
recursive_search: bool,
text_messages: &mut Messages
) -> bool
Remove unused entries when included or excluded overlaps with each other or are duplicated etc.
pub fn is_excluded(&self, path: impl AsRef<Path>) -> bool
[src]
Checks whether a specified directory is excluded from searching
Trait Implementations
impl Default for Directories
[src]
fn default() -> Directories
[src]
Auto Trait Implementations
impl RefUnwindSafe for Directories
impl Send for Directories
impl Sync for Directories
impl Unpin for Directories
impl UnwindSafe for Directories
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,