dominikh / filesize

filesize is a small ruby class for handling filesizes with both the SI and binary prefixes, allowing conversion from any size to any other size.
MIT License
81 stars 16 forks source link

Add support for parsing and pretty printing negative file sizes #23

Open seaneshbaugh opened 6 years ago

seaneshbaugh commented 6 years ago

This adds support for parsing negative file sizes and correctly printing them as requested in https://github.com/dominikh/filesize/issues/18.