code_files
Counts tracked files in the discovered git repo's index and ranks top-level directories by file count. Text is the headline file count ("342 files"); TextBlock lists "<dir> (<count>)" rows; Entries exposes the same as key/value rows; Bars ranks them as bar values; MarkdownTextBlock formats them as a Markdown bullet list with emphasis. Files at the repo root are grouped under "(root)". Vendored / generated dirs (node_modules / vendor / target / dist / build) are filtered out even when committed.
| Kind | Safety | Shapes |
|---|---|---|
| cached | Safe | text, text_block, entries, bars, markdown_text_block |
Options
Section titled “Options”No options.
Compatible renderers
Section titled “Compatible renderers”| Shape | Renderers |
|---|---|
text | animated_boot, animated_figlet_morph, animated_postfx, animated_scanlines, animated_splitflap, animated_typewriter, animated_wave, text_ascii, text_plain |
text_block | animated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_plain |
entries | animated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_table |
bars | animated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, chart_bar, chart_pie, list_ranking |
markdown_text_block | text_markdown |
Preview
Section titled “Preview”text via text_ascii
Section titled “text via text_ascii”▟▀▙ ▟█ ▟▀▙ ▗▛▙ ▀ ▝█ ▄▛ ▟▘█ ▄▛ ▟▙ ▝█ █ ▟▀▙ ▟▀▀ ▄ █ ▀▀█▘▟▘▄ ▐▌ █ █ █▀▀ ▝▀▙ ▝▀▘ ▝▀▘▀▀▀ ▀▀ ▝▀▘ ▝▀▘ ▝▀▘ ▀▀▘
[[widget]]id = "code_files"fetcher = "code_files"render = "text_ascii"text via text_plain
Section titled “text via text_plain”342 files
[[widget]]id = "code_files"fetcher = "code_files"render = "text_plain"text_block via list_plain
Section titled “text_block via list_plain”src (180) tests (42) docs (18) (root) (5)
[[widget]]id = "code_files"fetcher = "code_files"render = "list_plain"entries via grid_table
Section titled “entries via grid_table”src 180 tests 42 docs 18 (root) 5
[[widget]]id = "code_files"fetcher = "code_files"render = "grid_table"bars via chart_bar
Section titled “bars via chart_bar”███ ███ ███ ███ ███ ███ ▅▅▅ 180 42█ 18▅ src tes doc
[[widget]]id = "code_files"fetcher = "code_files"render = "chart_bar"bars via chart_pie
Section titled “bars via chart_pie”● ■ src 75.0% ●●●●●●●●●●● ●●●●●●●●●●●●● ■ tests 17.5% ●●●●●●●●●●●●●●● ●●●●●●●●●●●●●●●●● ■ docs 7.5% ●●●●●●●●●●●●●●● ●●●●●●●●●●●●● ●●●●●●●●●●● ●
[[widget]]id = "code_files"fetcher = "code_files"render = "chart_pie"bars via list_ranking
Section titled “bars via list_ranking”1. src 180 2. tests 42 3. docs 18
[[widget]]id = "code_files"fetcher = "code_files"render = "list_ranking"markdown_text_block via text_markdown
Section titled “markdown_text_block via text_markdown”- src — 180 files - tests — 42 files - docs — 18 files
[[widget]]id = "code_files"fetcher = "code_files"render = "text_markdown"