Method: Autobuild::Git.git_dir

Defined in:
lib/autobuild/import/git.rb

.git_dir(package, require_working_copy) ⇒ Object

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.

(see Git#git_dir)



448
449
450
451
452
# File 'lib/autobuild/import/git.rb', line 448

def self.git_dir(package, require_working_copy)
    dir, style = Git.resolve_git_dir(package.importdir)
    validate_git_dir(package, require_working_copy, dir, style)
    dir
end