Callback for APIs that add/remove/update files matching pathspec
the path
the given pathspec
the user-specified payload
0 to continue with the index operation, positive number to skip this file for the index operation, negative number on failure