Method: Cir::Repository#initialize

Defined in:
lib/cir/repository.rb

#initialize(rootPath) ⇒ Repository

Load repository (must exists) from given path.



43
44
45
46
47
# File 'lib/cir/repository.rb', line 43

def initialize(rootPath)
  # Database with files and their characteristics
  @git = Cir::GitRepository.new(rootPath)
  @database = YAML::Store.new(rootPath + '/' + FILE_LIST)
end