mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
More work on porting diff kitten
This commit is contained in:
parent
e4d936b5ed
commit
ee82cb5a52
6 changed files with 160 additions and 14 deletions
|
|
@ -321,7 +321,9 @@ func do_diff(file1, file2 string, context_count int) (ans *Patch, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
func diff(jobs []struct{ file1, file2 string }, context_count int) (ans map[string]*Patch, err error) {
|
||||
type diff_job struct{ file1, file2 string }
|
||||
|
||||
func diff(jobs []diff_job, context_count int) (ans map[string]*Patch, err error) {
|
||||
ans = make(map[string]*Patch)
|
||||
ctx := images.Context{}
|
||||
type result struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue