Closed sinelaw closed 9 years ago
Currently the fileSize function doesn't use TB or PB suffixes for very large numbers. This pull requests adds those two suffixes and makes it easier to change the code to support (or add customizability) in the future.
+1
I dig it. Tests look good, too. Thanks!
Currently the fileSize function doesn't use TB or PB suffixes for very large numbers. This pull requests adds those two suffixes and makes it easier to change the code to support (or add customizability) in the future.