Method: Forgejo::MigrateRepoOptions#hash

Defined in:
lib/forgejo/models/migrate_repo_options.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



344
345
346
# File 'lib/forgejo/models/migrate_repo_options.rb', line 344

def hash
  [auth_password, auth_token, auth_username, clone_addr, description, issues, labels, lfs, lfs_endpoint, milestones, mirror, mirror_interval, private, pull_requests, releases, repo_name, repo_owner, service, uid, wiki].hash
end