Struct wints::core::storage::WintsStorage
source · pub struct WintsStorage { /* private fields */ }
Implementations§
source§impl WintsStorage
impl WintsStorage
pub fn load( local_basedir: PathBuf, global_basedir: PathBuf ) -> Result<WintsStorage>
pub fn store(&self) -> Result<()>
pub fn ignore_url(&mut self, url: String, global_config: bool)
pub fn ignore_glob(&self, glob: String, global_config: bool) -> Result<()>
pub fn contextualise_urls( &mut self, module_name: String, is_global_module: bool, context: &str, urls: Vec<String> )
pub fn list_of_all_urls(&self, module_name: String) -> Vec<String>
pub fn ignored_urls(&self) -> Vec<String>
pub fn list_of_ignore_files(&self) -> Vec<PathBuf>
pub fn find_module(&self, module_name: String) -> Option<&WintsModule>
pub fn add_module( &mut self, module_name: String, module: WintsModule, is_global_module: bool )
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WintsStorage
impl Send for WintsStorage
impl Sync for WintsStorage
impl Unpin for WintsStorage
impl UnwindSafe for WintsStorage
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