Method: Grit::Index#delete

Defined in:
lib/grit/index.rb

#delete(path) ⇒ Object

Public: Delete the given file from the index.

path - The String file path including filename (no slash prefix).

Returns nothing.



56
57
58
# File 'lib/grit/index.rb', line 56

def delete(path)
  add(path, false)
end