Module: VagrantPlugins::ProxyConf::Cap::Linux::GitProxyConf

Defined in:
lib/vagrant-proxyconf/cap/linux/git_proxy_conf.rb

Overview

Capability for git proxy configuration

Class Method Summary collapse

Class Method Details

.git_proxy_conf(machine) ⇒ String, false

Returns the path to git or ‘false` if not found.

Returns:

  • (String, false)

    the path to git or ‘false` if not found



10
11
12
# File 'lib/vagrant-proxyconf/cap/linux/git_proxy_conf.rb', line 10

def self.git_proxy_conf(machine)
  Util.which(machine, 'git')
end