{"record":{"id":"a3d3e9c467d4c6fa","repo":"sxyazi/yazi","slug":"unsupported-a3d3e9","errorCode":"Unsupported","errorMessage":"Unsupported filesystem","messagePattern":"Unsupported filesystem","errorType":"exception","errorClass":"io::Error","httpStatus":null,"severity":"error","filePath":"yazi-vfs/src/engine/engine.rs","lineNumber":151,"sourceCode":"\t}\n}\n\npub async fn metadata<U>(url: U) -> io::Result<Cha>\nwhere\n\tU: AsUrl,\n{\n\tEngines::new(url.as_url()).await?.metadata().await\n}\n\npub async fn must_identical<U, V>(a: U, b: V) -> bool\nwhere\n\tU: AsUrl,\n\tV: AsUrl,\n{\n\tidentical(a, b).await.unwrap_or_default()\n}\n\npub(crate) async fn open<U>(url: U) -> io::Result<RwFile>\nwhere\n\tU: AsUrl,\n{\n\tEngines::new(url.as_url()).await?.open().await\n}\n\npub async fn read_dir<U>(url: U) -> io::Result<ReadDir>\nwhere\n\tU: AsUrl,\n{\n\tEngines::new(url.as_url()).await?.read_dir().await\n}\n\npub async fn read_link<U>(url: U) -> io::Result<PathBufDyn>\nwhere\n\tU: AsUrl,\n{\n\tEngines::new(url.as_url()).await?.read_link().await","sourceCodeStart":133,"sourceCodeEnd":169,"githubUrl":"https://github.com/sxyazi/yazi/blob/a541adde4e5b082719a0f21a87eb3eab071ece58/yazi-vfs/src/engine/engine.rs#L133-L169","documentation":"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).","triggerScenarios":"Thrown at yazi-vfs/src/engine/engine.rs:144 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a541adde4e5b082719a0f21a87eb3eab071ece58","analyzedAt":"2026-09-02T18:38:25.566Z","contentChangedAt":"2026-09-02T18:38:25.566Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}