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

broken symlinks = bad time for du #1

Merged
merged 1 commit into from
Jun 17, 2013
Merged

Conversation

timoxley
Copy link
Collaborator

Produces an error like so:

Error: ENOENT, no such file or directory '/path/to/symlink'

This now adds size of symlink to total.

Another option would be to should ignore symlinks or perhaps even try reading the target, and fail silently if it can't.

@rvagg
Copy link
Owner

rvagg commented Jun 17, 2013

sure, go ahead!

timoxley added a commit that referenced this pull request Jun 17, 2013
broken symlinks = bad time for du
@timoxley timoxley merged commit 9deb187 into rvagg:master Jun 17, 2013
@timoxley
Copy link
Collaborator Author

whoo

@timoxley
Copy link
Collaborator Author

…you'll still need to publish new version to npm.

@timoxley
Copy link
Collaborator Author

tagged in 0.0.2, all you need is to npm publish. f903e7a

@rvagg
Copy link
Owner

rvagg commented Jun 18, 2013

npm owner add timoxley du done, sorry for the delay; go ahead!

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.

2 participants