Class R10K::Git::StatefulRepository
In: lib/r10k/git/stateful_repository.rb
Parent: Object

Manage how Git repositories are created and set to specific refs

Methods

new   status   sync   sync_cache?  

Included Modules

R10K::Logging

Attributes

repo  [R]  @!attribute [r] repo
  @api private

Public Class methods

Create a new shallow git working directory

@param ref [String] The git ref to check out @param remote [String] The git remote to use for the repo @param basedir [String] The path containing the Git repo @param dirname [String] The directory name of the Git repo

Public Instance methods

@api private

[Validate]