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

ProgressFile #67

Open
winstonewert opened this issue May 4, 2018 · 1 comment
Open

ProgressFile #67

winstonewert opened this issue May 4, 2018 · 1 comment

Comments

@winstonewert
Copy link
Contributor

I wrote the following module for my project

https://gist.github.com/winstonewert/7a003b6c745226313ade0689e053fec3

It provide a ProgressFile which wraps a std::fs::File object and adds a progress bar for processing through the file. It automatically fetches the size of the file and sets the units to Bytes. Its really nifty for programs which process large files.

I've found it quite useful and use it everywhere. I'm wondering if there would be interest in including this in pbr if I contributed it?

@a8m
Copy link
Owner

a8m commented May 5, 2018

Thanks for suggesting that @winstonewert. It does seem useful.
I don't have a concrete opinion about this, so I'll keep this open for now and let's see what others think about 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

No branches or pull requests

2 participants