JSFileApi: Difference between revisions

80 bytes added ,  30 September 2011
→‎General utilities: [move] now handles cross-device moving.
(→‎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
     },
     },
184

edits