sxyazi/yazi · error · io::Error
Unsupported
Unsupported
Error message
Unsupported filesystem
What it means
Guard in `engine::identical`: the comparison is only implemented for local paths, and at least one of the two URLs is not local (no local path representation). The engine returns `Unsupported` rather than a hard I/O error; the caller `must_identical` propagates it. The faulting inputs are the non-local URL(s).
Solutions
- Compare local paths only; for remote services, implement a service-specific identity check.
- Skip the identity optimization when either side is remote instead of relying on this function.
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at yazi-vfs/src/engine/engine.rs:144 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of sxyazi/yazi@a541adde4e (2026-09-02).
Data as JSON: /api/errors/a3d3e9c467d4c6fa.
Report an issue: GitHub.
Appendix: source
Thrown at yazi-vfs/src/engine/engine.rs:151
}
}
pub async fn metadata<U>(url: U) -> io::Result<Cha>
where
U: AsUrl,
{
Engines::new(url.as_url()).await?.metadata().await
}
pub async fn must_identical<U, V>(a: U, b: V) -> bool
where
U: AsUrl,
V: AsUrl,
{
identical(a, b).await.unwrap_or_default()
}
pub(crate) async fn open<U>(url: U) -> io::Result<RwFile>
where
U: AsUrl,
{
Engines::new(url.as_url()).await?.open().await
}
pub async fn read_dir<U>(url: U) -> io::Result<ReadDir>
where
U: AsUrl,
{
Engines::new(url.as_url()).await?.read_dir().await
}
pub async fn read_link<U>(url: U) -> io::Result<PathBufDyn>
where
U: AsUrl,
{
Engines::new(url.as_url()).await?.read_link().awaitView on GitHub (pinned to a541adde4e)