mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
[yabridgectl] Add a way to clear entire blacklist
This commit is contained in:
@@ -43,3 +43,9 @@ pub fn list_paths(config: &Config) -> Result<()> {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Clear the entire blacklist.
|
||||
pub fn clear(config: &mut Config) -> Result<()> {
|
||||
config.blacklist.clear();
|
||||
config.write()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user