| 502 | type DiffNotifyCallback func(diffSoFar *Diff, deltaToAdd DiffDelta, matchedPathspec string) error |
| 503 | |
| 504 | type DiffOptions struct { |
| 505 | Flags DiffOptionsFlag |
| 506 | IgnoreSubmodules SubmoduleIgnore |
| 507 | Pathspec []string |
| 508 | NotifyCallback DiffNotifyCallback |
| 509 | |
| 510 | ContextLines uint32 |
| 511 | InterhunkLines uint32 |
| 512 | IdAbbrev uint16 |
| 513 | |
| 514 | MaxSize int |
| 515 | |
| 516 | OldPrefix string |
| 517 | NewPrefix string |
| 518 | } |
| 519 | |
| 520 | func DefaultDiffOptions() (DiffOptions, error) { |
| 521 | opts := C.git_diff_options{} |
nothing calls this directly
no outgoing calls
no test coverage detected