| 388 | } |
| 389 | |
| 390 | int _go_git_merge_file( |
| 391 | git_merge_file_result* out, |
| 392 | char* ancestorContents, |
| 393 | size_t ancestorLen, |
| 394 | char* ancestorPath, |
| 395 | unsigned int ancestorMode, |
| 396 | char* oursContents, |
| 397 | size_t oursLen, |
| 398 | char* oursPath, |
| 399 | unsigned int oursMode, |
| 400 | char* theirsContents, |
| 401 | size_t theirsLen, |
| 402 | char* theirsPath, |
| 403 | unsigned int theirsMode, |
| 404 | git_merge_file_options* copts) |
| 405 | { |
| 406 | git_merge_file_input ancestor = GIT_MERGE_FILE_INPUT_INIT; |
| 407 | git_merge_file_input ours = GIT_MERGE_FILE_INPUT_INIT; |
| 408 | git_merge_file_input theirs = GIT_MERGE_FILE_INPUT_INIT; |
| 409 | |
| 410 | ancestor.ptr = ancestorContents; |
| 411 | ancestor.size = ancestorLen; |
| 412 | ancestor.path = ancestorPath; |
| 413 | ancestor.mode = ancestorMode; |
| 414 | |
| 415 | ours.ptr = oursContents; |
| 416 | ours.size = oursLen; |
| 417 | ours.path = oursPath; |
| 418 | ours.mode = oursMode; |
| 419 | |
| 420 | theirs.ptr = theirsContents; |
| 421 | theirs.size = theirsLen; |
| 422 | theirs.path = theirsPath; |
| 423 | theirs.mode = theirsMode; |
| 424 | |
| 425 | return git_merge_file(out, &ancestor, &ours, &theirs, copts); |
| 426 | } |
| 427 | |
| 428 | void _go_git_populate_stash_apply_callbacks(git_stash_apply_options *opts) |
| 429 | { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…