in windows, you cannot os.Rename() across multiple drives, you get a
system error. this fixes that, allowing windows users to go ahead and
use gvm outside of their C drive. while I implemented the fix, the
reference implementation can be found on stackoverflow, link in the
commit message.
there were no tests, but the functionality did what it's intended to do,
so I made sure there were at least windows and linux support.
in windows, you cannot os.Rename() across multiple drives, you get a system error. this fixes that, allowing windows users to go ahead and use gvm outside of their C drive. while I implemented the fix, the reference implementation can be found on stackoverflow, link in the commit message.
there were no tests, but the functionality did what it's intended to do, so I made sure there were at least windows and linux support.
https://stackoverflow.com/a/56314145/4949938
Signed-off-by: Mike Lloyd mike@reboot3times.org