File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ The fields represent:
128
128
* `disable_filters`: if nonzero, do not apply filters like CLRF (to convert file newlines between UNIX and DOS).
129
129
* `dir_mode`: read/write/access mode for any directories involved in the checkout. Default is `0755`.
130
130
* `file_mode`: read/write/access mode for any files involved in the checkout.
131
- Default is `0755` or `0644`, depeding on the blob.
131
+ Default is `0755` or `0644`, depending on the blob.
132
132
* `file_open_flags`: bitflags used to open any files during the checkout.
133
133
* `notify_flags`: Flags for what sort of conflicts the user should be notified about.
134
134
* `notify_cb`: An optional callback function to notify the user if a checkout conflict occurs.
665
665
666
666
Options to control how `git_status_foreach_ext()` will issue callbacks.
667
667
Matches the [`git_status_opt_t`](https://libgit2.github.com/libgit2/#HEAD/type/git_status_opt_t) struct.
668
+
669
+ The fields represent:
670
+ * `version`: version of the struct in use, in case this changes later. For now, always `1`.
671
+ * `show`: a flag for which files to examine and in which order.
672
+ The default is `Consts.STATUS_SHOW_INDEX_AND_WORKDIR`.
673
+ * `flags`: flags for controlling any callbacks used in a status call.
674
+ * `pathspec`: an array of paths to use for path-matching. The behavior of the path-matching
675
+ will vary depending on the values of `show` and `flags`.
668
676
"""
669
677
@kwdef struct StatusOptions
670
678
version:: Cuint = 1
You can’t perform that action at this time.
0 commit comments