Class: Amp::Core::Repositories::Git::Index::IndexVersion2

Inherits:
AbstractIndex
  • Object
show all
Defined in:
lib/amp-git/repo_format/index.rb

Overview

Newer version of the index - default format of the index.

Instance Method Summary collapse

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