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

Add stats reporting for directories #1055

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hkoosha
Copy link

@hkoosha hkoosha commented Dec 27, 2023

Reporting for directories per language, as sum of stats of each directory's children.

Only supported for json, yaml and cbor as it doesn't make sense in text output (even though I like to have that option when only a single language is enabled, i.e. tokei -t rust --include-directories to get rust stats per directory).

Conflicts with streaming as generating directory stats requires all its children stats to be already available, and it'll be quite complicated and a big change to enable in streaming mode.

I think it's a breaking change hence I thought enabling it should be via cli flag. Also it might be unnecessary processing so better enabled on demand?

@hkoosha hkoosha changed the title Add reporting stats for directories Add stats reporting for directories Dec 28, 2023
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

1 participant