mirror of
https://github.com/tobi/disktree.git
synced 2026-11-28 08:00:53 +00:00
Windows clients rejected every path an SSH host sent. The helper is Unix-only, so remote roots are /-rooted, but Path::is_absolute also wants a drive letter on Windows. Root discovery, the scan header and the picker now check remote paths with is_remote_absolute, which agrees with is_absolute on Unix. The volume picker test compared against the unresolved temporary path. Accepting a local root canonicalizes it, and the temporary directory is /var -> /private/var on macOS and an 8.3 short name on Windows runners. spawn_command and wait in remote.rs are only used by the Unix tests, so clippy -D warnings failed on Windows. Gate them on unix.