Skip to content

PatchIter

Iterator over a patch stream.

Returned by decode. Each iteration yields one Patch.

Example

for p = patch.decode diff_text
  echo $p.type

Inherits from: Iter[Patch]

Methods

(next)()

Yields the next Patch, ending iteration once the stream is exhausted.