Closed CFiggers closed 7 months ago
For reference, here is some info that mentions the difference in behavior of rename
(which IIUC is what os/rename
wraps) among some platforms.
Not going to fix this, there are many difference between various file systems that Janet cannot reasonably paper over in a nice way.
It seems like on Linux, if a file is renamed using
os/rename
to a filename that already exists, it overwrites the existing file. On Windows, the same thing returns an error.Linux:
Windows:
Should the behavior of
os/rename
be the same on both platforms?