chore: Clean up util dependencies. (#9247)
This allows this crate to start building sooner + it reduces our total build graph size by 13 units (1104 -> 1091). Release Notes: - N.A
This commit is contained in:
parent
c09fe1ce8a
commit
34f09bae4f
6 changed files with 63 additions and 81 deletions
|
@ -1,8 +1,8 @@
|
|||
use std::path::Path;
|
||||
|
||||
use smol::{fs, stream::StreamExt};
|
||||
|
||||
use crate::ResultExt;
|
||||
use async_fs as fs;
|
||||
use futures_lite::StreamExt;
|
||||
|
||||
/// Removes all files and directories matching the given predicate
|
||||
pub async fn remove_matching<F>(dir: &Path, predicate: F)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue