Parsed: 108922

  public function move( $source, $destination, $overwrite = false ) {
    if ( $this->WP_Filesystem_SSH2::exists( $destination ) ) {
      if ( $overwrite ) {
        // We need to remove the destination file before we can rename the source.
        $this->WP_Filesystem_SSH2::delete( $destination, false, 'f' );
      } else {
        // If we're not overwriting, the rename will fail, so return early.
        return false;
      }
    }

    return ssh2_sftp_rename( $this->sftp_link, $source, $destination );
  }