mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
6f64c3b3a0
commit
c72676a84d
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ pub async fn metadata(url: impl AsRef<Url>) -> io::Result<std::fs::Metadata> {
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub async fn open(url: impl AsRef<Url>) -> io::Result<tokio::fs::File> {
|
pub async fn open(url: impl AsRef<Url>) -> io::Result<tokio::fs::File> {
|
||||||
tokio::fs::File::open(url.as_ref()).await
|
Local::open(url.as_ref()).await
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue