8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 860cdc7 commit aefc6c2Copy full SHA for aefc6c2
LibGit2Sharp/Core/NativeMethods.cs
@@ -336,6 +336,14 @@ public static extern int git_diff_blobs(
336
git_diff_hunk_fn hunkCallback,
337
git_diff_data_fn lineCallback);
338
339
+ [DllImport(libgit2)]
340
+ public static extern int git_ignore_add_rule(
341
+ RepositorySafeHandle repo,
342
+ [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof (Utf8Marshaler))] string rules);
343
+
344
345
+ public static extern int git_ignore_clear_internal_rules(RepositorySafeHandle repo);
346
347
[DllImport(libgit2)]
348
public static extern int git_index_add(
349
IndexSafeHandle index,
0 commit comments