Expand description
Pure helpers behind ct-tree’s reporting: per-file line/word/character
counts, the metric-bound predicate, and the immediate-parent grouping used by
the per-folder predicate and the directory summary.
Functions§
- metrics
- Count lines, words, and characters of
content. - parent_
dir - The immediate parent directory of a relative path (
"."for a root-level file). Used to group files for the per-folder predicate and--summary dir. - within
- Whether a value satisfies an optional
>= min/<= maxpair (an absent bound never constrains).