mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
feat: new relay-notify-push DDS event to allow custom notification handlers (#3642)
This commit is contained in:
parent
dfdb235d74
commit
a015d4a7ef
33 changed files with 117 additions and 143 deletions
|
|
@ -21,6 +21,7 @@ yazi-shared = { path = "../yazi-shared", version = "26.1.22" }
|
|||
# External dependencies
|
||||
anyhow = { workspace = true }
|
||||
deadpool = { version = "0.12.3", default-features = false, features = [ "managed", "rt_tokio_1" ] }
|
||||
either = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
hashbrown = { workspace = true }
|
||||
parking_lot = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
use std::{collections::VecDeque, io, time::{Duration, Instant}};
|
||||
|
||||
use either::Either;
|
||||
use yazi_fs::provider::{DirReader, FileHolder};
|
||||
use yazi_shared::{Either, url::{AsUrl, UrlBuf}};
|
||||
use yazi_shared::url::{AsUrl, UrlBuf};
|
||||
|
||||
use super::ReadDir;
|
||||
|
||||
|
|
@ -66,7 +67,7 @@ impl SizeCalculator {
|
|||
};
|
||||
}
|
||||
|
||||
let Ok(Some(ent)) = front.right_mut()?.next().await else {
|
||||
let Ok(Some(ent)) = front.as_mut().right()?.next().await else {
|
||||
pop_and_continue!();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue