Class Grit::GitRuby::FileIndex
In: lib/grit/git-ruby/file_index.rb
Parent: Object

Methods

Classes and Modules

Class Grit::GitRuby::FileIndex::IndexFileNotFound
Class Grit::GitRuby::FileIndex::UnsupportedRef

Attributes

files  [R] 
max_file_size  [RW] 

Public Class methods

initializes index given repo_path

Public Instance methods

returns all commits for a file

builds a list of all commits reachable from a single commit

returns count of all commits reachable from SHA note: originally did this recursively, but ruby gets pissed about that on really big repos where the stack level gets ‘too deep’ (thats what she said)

returns count of all commits

returns files changed at commit sha

returns the shas of the last commits for all the files in [] from commit_sha files_matcher can be a regexp or an array

[Validate]