Add a file to the index by path.
You can specify both relative paths (to the working directory) and absolute paths. Absolute paths however must reside in the working directory. The specified path must exist and must be readable.
this |
a Index. |
path |
path to the file to add. |
true if the file was added to the index or false if there was an error. |