Method: Git::Lib#checkout_file
- Defined in:
- lib/git/lib.rb
#checkout_file(version, file)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1315 1316 1317 1318 1319 1320 |
# File 'lib/git/lib.rb', line 1315 def checkout_file(version, file) arr_opts = [] arr_opts << version arr_opts << file command('checkout', *arr_opts) end |