We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
git_apply_options_init
1 parent e2e3f3e commit f8b26dfCopy full SHA for f8b26df
include/git2/apply.h
@@ -89,6 +89,16 @@ typedef struct {
89
#define GIT_APPLY_OPTIONS_VERSION 1
90
#define GIT_APPLY_OPTIONS_INIT {GIT_APPLY_OPTIONS_VERSION}
91
92
+/**
93
+ * Initialize git_apply_options structure
94
+ *
95
+ * Initialize a `git_apply_options` with default values. Equivalent to creating
96
+ * an instance with GIT_APPLY_OPTIONS_INIT.
97
98
+ * @param opts The `git_apply_options` struct to initialize.
99
+ * @param version The struct version; pass `GIT_APPLY_OPTIONS_VERSION`
100
+ * @return 0 on success or -1 on failure.
101
+ */
102
GIT_EXTERN(int) git_apply_options_init(git_apply_options *opts, unsigned int version);
103
104
/**
0 commit comments