Method: Gitgo::Index::IdxFile#initialize
- Defined in:
- lib/gitgo/index/idx_file.rb
#initialize(file) ⇒ IdxFile
Initializes a new ShaFile with the specified file. The file will be set to binary mode.
70 71 72 73 |
# File 'lib/gitgo/index/idx_file.rb', line 70 def initialize(file) file.binmode @file = file end |