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

Gather disk usage for file(s) #294

Merged
merged 1 commit into from Jul 19, 2015
Merged

Gather disk usage for file(s) #294

merged 1 commit into from Jul 19, 2015

Conversation

maxmeyer
Copy link
Member

This adds a method to report the disk usage for files and directories. It's different from File.sizeas this uses the amount of blocks really allocated on disk and reports a different value for Sparse Files (http://prefetch.net/blog/index.php/2009/07/05/creating-sparse-files-on-linux-hosts-with-dd/).

maxmeyer added a commit that referenced this pull request Jul 19, 2015
@maxmeyer maxmeyer merged commit 97babda into cucumber:master Jul 19, 2015
@maxmeyer maxmeyer changed the title Add disk usage Gather disk usage for file(s) Jul 19, 2015
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.

1 participant