Method: Git::Lib#rm

Defined in:
lib/git/lib.rb

#rm(path = '.', opts = {})

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.



1133
1134
1135
1136
1137
1138
1139
1140
# File 'lib/git/lib.rb', line 1133

def rm(path = '.', opts = {})
  args = build_args(opts, RM_OPTION_MAP)

  args << '--'
  args.concat(Array(path))

  command('rm', *args)
end