Support size suffixes in config#893
Conversation
Codecov Report
@@ Coverage Diff @@
## master #893 +/- ##
==========================================
+ Coverage 39.16% 39.32% +0.15%
==========================================
Files 244 244
Lines 12178 12212 +34
==========================================
+ Hits 4770 4802 +32
- Misses 7013 7014 +1
- Partials 395 396 +1
Continue to review full report at Codecov.
|
|
See also spf13/cast#129 . |
|
I believe at least terabytes should be supported. BTW, what about floats, like .5Tb for example? |
cthulhu-rider
left a comment
There was a problem hiding this comment.
@fyrchik pls don't forget to fix linter's remark
|
@532910 floats are not supported, at least for now. I will add TB suffixes. |
The code is taken from viper as `cast` package that we use doesn't have needed converter. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Fix #857 .