Method: Pod::Source::Manager#save_search_index
- Defined in:
- lib/cocoapods-core/source/manager.rb
permalink #save_search_index(index) ⇒ Object
Stores given search data in the file system.
288 289 290 291 292 293 294 |
# File 'lib/cocoapods-core/source/manager.rb', line 288 def save_search_index(index) require 'json' @updated_search_index = index search_index_path.open('w') do |io| io.write(@updated_search_index.to_json) end end |