You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| pathspec |[Strarray](/api/strarray/)| array of path patterns |
97
+
| flags | Number | combination of git_index_add_option_t flags |
98
+
| callback | IndexMatchedPathCb | notification callback for each added/updated path (also gets index of matching pathspec entry); can be NULL; return 0 to add, >0 to skip, <0 to abort scan. |
99
+
| payload | Void | payload passed through to callback function |
100
+
101
+
| Returns ||
102
+
| --- | --- |
103
+
| Number | 0 on success, negative callback return value, or error code |
| pathspec |[Strarray](/api/strarray/)| array of path patterns |
316
+
| callback | IndexMatchedPathCb | notification callback for each removed path (also gets index of matching pathspec entry); can be NULL; return 0 to add, >0 to skip, <0 to abort scan. |
317
+
| payload | Void | payload passed through to callback function |
318
+
319
+
| Returns ||
320
+
| --- | --- |
321
+
| Number | 0 on success, negative callback return value, or error code |
| pathspec |[Strarray](/api/strarray/)| array of path patterns |
377
+
| callback | IndexMatchedPathCb | notification callback for each updated path (also gets index of matching pathspec entry); can be NULL; return 0 to add, >0 to skip, <0 to abort scan. |
378
+
| payload | Void | payload passed through to callback function |
379
+
380
+
| Returns ||
381
+
| --- | --- |
382
+
| Number | 0 on success, negative callback return value, or error code |
0 commit comments