mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Add Database::set_user_known_bash_tags()
This commit is contained in:
@@ -124,6 +124,15 @@ impl Database {
|
||||
.to_vec())
|
||||
}
|
||||
|
||||
pub fn set_user_known_bash_tags(&self, bash_tags: Vec<String>) -> Result<(), VerboseError> {
|
||||
self.0
|
||||
.write()
|
||||
.map_err(DatabaseLockPoisonError::from)?
|
||||
.set_user_known_bash_tags(bash_tags);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn general_messages(
|
||||
&self,
|
||||
evaluate_conditions: bool,
|
||||
|
||||
Reference in New Issue
Block a user