spiegel_podman/internal
Mario Loriedo 8babd48d59 Fix IsPathAvailableOnMachine when Windows drive isn't C:
The function `IsPathAvailableOnMachine` was returning
the wrong target path (the path of the file mounted
inside the machine) when the provider was HyperV and
the mounted drive wasn't `C:`.

For example here:

https://api.cirrus-ci.com/v1/task/5212355623124992/logs/main.log

The host path `Z:\\podman_test3139230807\\...\\host-ca-certs.pem` was
converted as guest path `/mnt/c/podman_test3139230807/.../host-ca-certs.pem`
although `Z:\` was mounted to `/mnt/z` rather than `/mnt/c`.

We have fixed this behavior and added a few unit tests.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-04-01 14:12:30 +02:00
..
domain Make most of libpod, and everything that relies on it, non-darwin 2026-02-27 22:18:36 +01:00
localapi Fix IsPathAvailableOnMachine when Windows drive isn't C: 2026-04-01 14:12:30 +02:00
remote_build_helpers fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00