Closed arthru closed 8 years ago
After a quick look, I think the line to fix is https://github.com/karan/joe/blob/master/utils.go#L83
But it is kinda strange that the renmae fonction from go does not work between two different partitions...
Yeah my assumption was that Rename
works across partitions since it's considered "safe". But I guess not. If you have the time to change it to actual copy, please do send a PR. Or I'll fix it when I get the time.
With latest 1.0.0, when running
joe u
, I get the following error :I guess that joe is trying to make a hard link from my home to my tmp dir. That won't work as this two dirs are not on the same partition...
I suggest making a real copy instead.