Add Database::user_known_bash_tags()

This commit is contained in:
Oliver Hamlet
2026-01-02 15:30:24 +00:00
parent e72a0de8c7
commit 2fe107d66b
9 changed files with 87 additions and 0 deletions
+9
View File
@@ -115,6 +115,15 @@ impl Database {
.known_bash_tags())
}
pub fn user_known_bash_tags(&self) -> Result<Vec<String>, VerboseError> {
Ok(self
.0
.read()
.map_err(DatabaseLockPoisonError::from)?
.user_known_bash_tags()
.to_vec())
}
pub fn general_messages(
&self,
evaluate_conditions: bool,