Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for 'B' bytes unit to parse_size #2

Merged
merged 1 commit into from
Jun 29, 2014
Merged

Added support for 'B' bytes unit to parse_size #2

merged 1 commit into from
Jun 29, 2014

Conversation

korylprince
Copy link
Contributor

This library couldn't parse something like 14B or 0B, so I added support and tests to do so.

In particular, the ls command on OS X emits sizes like 0B instead of the Linuxy ls which outputs just 0. Your library is great for parsing outputs like that and this fixes that corner case.

Thanks!

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling eaf002e on korylprince:master into 56a4f21 on xolox:master.

@xolox xolox merged commit eaf002e into xolox:master Jun 29, 2014
@xolox
Copy link
Owner

xolox commented Jun 29, 2014

Thanks for the pull request! Your change made sense so it's now merged.

@korylprince
Copy link
Contributor Author

Glad to hear it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants