mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Start work on porting Go rsync implementation to C
This commit is contained in:
parent
85df15bfc3
commit
fabb6bd8cc
7 changed files with 280 additions and 484 deletions
|
|
@ -226,7 +226,7 @@ type signature_iterator struct {
|
|||
index uint64
|
||||
}
|
||||
|
||||
// ans is valid only iff err == nil
|
||||
// ans is valid iff err == nil
|
||||
func (self *signature_iterator) next() (ans BlockHash, err error) {
|
||||
n, err := io.ReadAtLeast(self.src, self.buffer, cap(self.buffer))
|
||||
switch err {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue