Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Put in version method was added

...

Note that the script uses the File.eachByte(int, closure) method which is only available in later versions of groovy (I know for a fact that it is not available in 1Groovy v1.7.3 and is available in 1.7.6). 4 and later. You can naturally replace this construct with some other pattern, but as it fits so beautifully for the purpose, the script makes use of it.

...