Method: Chef::Provider::Git#remote_matches?

Defined in:
lib/chef/provider/git.rb

#remote_matches?(remote_url, check_remote_command_result) ⇒ Boolean

Returns:

  • (Boolean)


274
275
276
# File 'lib/chef/provider/git.rb', line 274

def remote_matches?(remote_url, check_remote_command_result)
  check_remote_command_result.stdout.strip.eql?(remote_url)
end