Class R10K::Git::Rugged::WorkingRepository
In: lib/r10k/git/rugged/working_repository.rb
Parent: R10K::Git::Rugged::BaseRepository

Methods

alternates   checkout   clone   exist?   fetch   git_dir   head   new   origin  

Attributes

path  [R]  @return [Pathname] The path to this directory

Public Class methods

@param basedir [String] The base directory of the Git repository @param dirname [String] The directory name of the Git repository

Public Instance methods

Check out the given Git ref

@param ref [String] The git reference to check out @return [void]

Clone this git repository

@param remote [String] The Git remote to clone @param opts [Hash]

@options opts [String] :ref The git ref to check out on clone @options opts [String] :reference A Git repository to use as an alternate object database

@return [void]

@return [Pathname] The path to the Git repository inside of this directory

[Validate]