mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-15 21:14:35 +02:00
Improve testing infra for rsync roundtrip
This commit is contained in:
@@ -192,7 +192,7 @@ func (self *Differ) CreateDelta(src io.Reader, output_callback func([]byte) erro
|
||||
if err = self.finish_signature_data(); err != nil {
|
||||
return
|
||||
}
|
||||
if len(self.signature) == 0 {
|
||||
if self.signature == nil {
|
||||
return fmt.Errorf("Cannot call CreateDelta() before loading a signature")
|
||||
}
|
||||
self.rsync.CreateDelta(src, self.signature, func(op Operation) error {
|
||||
|
||||
Reference in New Issue
Block a user