Closed plietar closed 8 years ago
I think rmFile will remove the file that the link points to. Feel free to try it out and send a pull-request.
rmFile
uses System.removeFile
.
The documentation is unclear, but System.removeFile
(on POSIX) calls Posix.Files.removeLink
, which uses unlink(3)
, which according to the man page only removes the symlink, not the target :smile:
If I make a pull-request with a fix, will you try it out and tell me whether that fixes the problem for you?
On OS X (at least) it is in
/usr/bin/unlink
Why is it even required ? Can't you just usermFile
?