Adds a file to the index, without writing it to disk. To write it to disk after calling this, use GitIndex.WriteIndex This will do the following: 1. write git object blob of file contents to .git/objects 2. normalize os.File name to path relative to gitRoot 3. search GitIndex for normalized name i
(c *Client, file File, opts UpdateIndexOptions)
source not stored for this graph (policy: none)
no test coverage detected