Class: FakeGit::UpdateIndex
- Inherits:
-
Object
- Object
- FakeGit::UpdateIndex
- Defined in:
- lib/fake_git/update_index.rb
Instance Method Summary collapse
Instance Method Details
#call(*args) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/fake_git/update_index.rb', line 7 def call(*args) get_obj_type $OPTIONS[:update_index_cache_info] index, file_name = args.first.split(" ") obj = FakeGit::FetchObject.new.call(index) update_filename(obj, file_name) end |