Method: PDK::Util::Git.git_bin

Defined in:
lib/pdk/util/git.rb

.git_binObject



42
43
44
45
46
47
48
49
# File 'lib/pdk/util/git.rb', line 42

def self.git_bin
  require 'pdk/cli/exec'

  git_bin = Gem.win_platform? ? 'git.exe' : 'git'
  vendored_bin_path = File.join(git_bindir, git_bin)

  PDK::CLI::Exec.try_vendored_bin(vendored_bin_path, git_bin)
end