Function solana_accounts_db::utils::move_and_async_delete_path_contents
source ยท pub fn move_and_async_delete_path_contents(path: impl AsRef<Path>)
Expand description
Moves and asynchronously deletes the contents of a directory to avoid blocking on it. The directory is re-created after the move, and should now be empty.