Method: Git::Lib#git_dir
- Defined in:
- lib/git/lib.rb
#git_dir ⇒ Pathname (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The path to the Git repository directory. The default is
"#{git_work_dir}/.git".
35 36 37 |
# File 'lib/git/lib.rb', line 35 def git_dir @git_dir end |