B2G/gecko/toolkit/mozapps/extensions/XPIProvider.jsm
/**
   * Moves a file or directory into a new directory. If an error occurs then all
   * files that have been moved will be moved back to their original location.
   *
   * @param  aFile
   *         The file or directory to be moved.
   * @param  aTargetDirectory
   *         The directory to move into, this is expected to be an empty
   *         directory.
   */
Moves a file or directory into a new directory. If an error occurs then all
files that have been moved will be moved back to their original location.

@param  aFile
The file or directory to be moved.
@param  aTargetDirectory
The directory to move into, this is expected to be an empty
directory.
Moves a file or directory into a new directory . If an error occurs then all files that have been moved will be moved back to their original location . @param aFile The file or directory to be moved . @param aTargetDirectory The directory to move into this is expected to be an empty directory .
function SIO_move(aFile, aTargetDirectory) {
    try {
      this._installDirEntry(aFile, aTargetDirectory, false);
    }
    catch (e) {
      this.rollback();
      throw e;
    }
  }
function SIO_move ( aFile , aTargetDirectory ) { try { this . _installDirEntry ( aFile , aTargetDirectory , false ) ; } catch ( e ) { this . rollback ( ) ; throw e ; } }
Moves a file or directory into a new directory.
Moves a file or directory into a new directory .