Method: Git::CommandLine#binary_path

Defined in:
lib/git/command_line.rb

#binary_pathString (readonly)

The path to the command line binary to run

Examples:

binary_path = '/usr/bin/git'
command_line = Git::CommandLine.new({}, binary_path, ['version'], Logger.new(STDOUT))
command_line.binary_path #=> '/usr/bin/git'

Returns:

  • (String)


62
63
64
# File 'lib/git/command_line.rb', line 62

def binary_path
  @binary_path
end