Class: Amp::Core::Repositories::Git::Index::IndexVersion2
- Inherits:
-
AbstractIndex
- Object
- AbstractIndex
- Amp::Core::Repositories::Git::Index::IndexVersion2
- Defined in:
- lib/amp-git/repo_format/index.rb
Overview
Newer version of the index - default format of the index.
Instance Method Summary collapse
-
#initialize(fp) ⇒ IndexVersion2
constructor
A new instance of IndexVersion2.
Methods inherited from AbstractIndex
#[], #inspect, #read_entries, #size
Constructor Details
#initialize(fp) ⇒ IndexVersion2
Returns a new instance of IndexVersion2.
161 162 163 164 |
# File 'lib/amp-git/repo_format/index.rb', line 161 def initialize(fp) super read_entries(fp) end |