184
edits
(→General utilities: [move] now handles cross-device moving.) |
|||
Line 61: | Line 61: | ||
move: function(source, target) | move: function(source, target) | ||
{ | { | ||
//Unix: maps to [rename] | //Unix: maps to [rename] or, when [rename] returns EXDEV, on [FileUtilities.copy]+[FileUtilities.remove] | ||
//Windows: maps to [MoveFile] http://msdn.microsoft.com/en-us/library/aa365239(v=VS.85).aspx | //Windows: maps to [MoveFile] http://msdn.microsoft.com/en-us/library/aa365239(v=VS.85).aspx | ||
}, | }, |
edits