fs-lock
fs-lock copied to clipboard
Will this library work on windows?
I see a few lines (32 and 49) that check if a path begins with '/', if it doesn't we prepend the cwd. This could be a full windows path 'C:/blah/...'.
It was never tested on windows, it was also written before require('path').sep
even existed. I don't even think Node worked very well on Windows when this was written :)
It probably should be updated to use some of the newer path
methods.