mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
feat: new experimental ya.async() API (#3422)
This commit is contained in:
parent
85a99937a1
commit
ac7718c226
19 changed files with 153 additions and 89 deletions
|
|
@ -17,6 +17,10 @@ impl Deref for File {
|
|||
fn deref(&self) -> &Self::Target { &self.cha }
|
||||
}
|
||||
|
||||
impl From<&File> for File {
|
||||
fn from(value: &File) -> Self { value.clone() }
|
||||
}
|
||||
|
||||
impl File {
|
||||
#[inline]
|
||||
pub fn from_dummy(url: impl Into<UrlBuf>, r#type: Option<ChaType>) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue