mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00

This adds generic utility to convert file system path into URL structure. Instead of string manipulation it uses URL parsing and building routines. Appending absolute path to `unix:///` URL out of the box correctly handles URL format on Windows platform, where filepath should be prepended by additional `/` before drive letter. Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>