Method: Git::Lib#git_work_dir

Defined in:
lib/git/lib.rb

#git_work_dirPathname (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 working copy. The default is '"./.git"'.

Returns:

  • (Pathname)

    the path to the Git working copy.

See Also:

  • working tree](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefworkingtreeaworkingtree)


26
27
28
# File 'lib/git/lib.rb', line 26

def git_work_dir
  @git_work_dir
end