-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Feature idea: files count #85
Comments
Just to flesh out the idea some more:
How would this interact with files ignored via glob or gitignore? Right now, ignored files are treated as if they do not exist, and not counted for file size -- presumably this would mean they're not counted for number of files either. |
Well, that's an easy one, for consistency purposes, whenever
While I've mentioned myself it may be somewhat confusing, I think it would be consistent with how sizes are computed. Otherwise you'd end up with different conventions for accumulating sizes and counts which may also end up being confusing, but in a different way. Perhaps a better name could be Re: using the same convention - even if you have a complicated tree of folders, you could simply take the
Intuitively, I'd expect them not to, unless you name them "node counts" or "subtree counts" or something like that. Files are just files. Again, consistent with the existing logic? I.e., directories don't contribute to the logical file size? |
What do you guys think of something like:
I imagine the
Additionally, any thoughts on if we should handle symlinks to directories in any special manner? |
So I gave this a solid effort and I left not being a huge fan of how cluttered it all looked, especially with the |
Idea: a flags that enables reporting total file count for directories,
Could be especially useful with #84, so you could report files count like
This might be somewhat confusing because it's not the number of files in a given directory but rather total files in this directory and all subdirectories (but is otherwise consistent with total file size being reported recursively).
The text was updated successfully, but these errors were encountered: