diff options
author | BRAINS YUM <43896676+McFlat@users.noreply.github.com> | 2018-10-13 01:43:55 -0500 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-13 08:43:55 +0200 |
commit | 0e5ff97f6fdf9a4cebe5a15f5a390380465803ad (patch) | |
tree | e3f69adb2b8a910ef750b44972ea59944aa9ca7c /server/helpers/custom-validators/users.ts | |
parent | 6e5a785b20230ff5457632361a893d814b53c95e (diff) | |
download | PeerTube-0e5ff97f6fdf9a4cebe5a15f5a390380465803ad.tar.gz PeerTube-0e5ff97f6fdf9a4cebe5a15f5a390380465803ad.tar.zst PeerTube-0e5ff97f6fdf9a4cebe5a15f5a390380465803ad.zip |
add parseBytes utility function and tests (#1239)
* add parseBytes utility function and tests
make it parse TB MB
fix parseBytes; * 1024
test bytes too, and make parseByte to parse quotas
add test in travis.sh in misc
* fix parseBytes and test to pass linting
Diffstat (limited to 'server/helpers/custom-validators/users.ts')
0 files changed, 0 insertions, 0 deletions