| Class | R10K::Git::Repository |
| In: |
lib/r10k/git/repository.rb
|
| Parent: | Object |
Define an abstract base class for git repositories.
@deprecated This has been replaced by the ShellGit provider and the
StatefulRepository class and will be removed in 2.0.0
:nocov:
| basedir | [R] |
@!attribute [r] basedir
@return [String] The directory containing the repository |
| dirname | [R] |
@!attribute [r] dirname
@return [String] The name of the directory |
| git_dir | [R] |
@!attribute [r] git_dir
Set the path to the git directory. For git repositories with working copies this will be `$working_dir/.git`; for bare repositories this will be `bare-repo.git` @return [String] The path to the git directory |
| remote | [R] |
@!attribute [r] remote
@return [String] The URL to the git repository |