ee/app/models/ssh_host_key.rb
# Returns true if the known_hosts data differs from that currently set for
# `project.import_data.ssh_known_hosts`. Ordering is ignored.
#
# Ordering is ignored
Returns true if the known_hosts data differs from that currently set for
`project.import_data.ssh_known_hosts`. Ordering is ignored.

Ordering is ignored
Returns true if the known_hosts data differs from that currently set for ` project . import_data . ssh_known_hosts ` . Ordering is ignored . Ordering is ignored
def changes_project_import_data?
    our_known_hosts = known_hosts
    project_known_hosts = project.import_data&.ssh_known_hosts
    cleanup(our_known_hosts.to_s) != cleanup(project_known_hosts.to_s)
  end
def changes_project_import_data? our_known_hosts = known_hosts project_known_hosts = project . import_data &. ssh_known_hosts cleanup ( our_known_hosts . to_s ) != cleanup ( project_known_hosts . to_s ) end
Returns true if the known_hosts data differs from that currently set for
`project.import_data.ssh_known_hosts`.
Returns true if the known_hosts data differs from that currently set for ` project . import_data . ssh_known_hosts ` .