mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
20f06891eb
commit
a9f0143cae
1 changed files with 1 additions and 3 deletions
|
|
@ -8,8 +8,6 @@
|
|||
|
||||
use std::{borrow::Cow, ffi::OsStr};
|
||||
|
||||
use anyhow::anyhow;
|
||||
|
||||
mod unix;
|
||||
mod windows;
|
||||
|
||||
|
|
@ -45,7 +43,7 @@ pub fn escape_os_str(s: &OsStr) -> Cow<OsStr> {
|
|||
|
||||
#[inline]
|
||||
pub fn split_unix(s: &str) -> anyhow::Result<Vec<String>> {
|
||||
unix::split(s).map_err(|()| anyhow!("missing closing quote"))
|
||||
unix::split(s).map_err(|()| anyhow::anyhow!("missing closing quote"))
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue