Skip to content

v0.3.2

Choose a tag to compare

@deeplook deeplook released this 13 Mar 22:04
· 232 commits to main since this release

Added

  • Vertical file labels: file tiles that are at least twice as tall as wide now
    display their label rotated 90° CCW, letting the text span the full tile height
    instead of being squeezed into the narrow width.
  • Scan and render timing shown in header output:
    Found 1,414 files … [2.3s] and Saved dirplot to out.png [0.4s].
  • Multiple local roots: dirplot map src tests accepts two or more local
    directory paths, finds their common parent, and shows only those subtrees.
  • --subtree / -s option (repeatable) — allowlist complement to --exclude:
    keep only the named direct children of the root after scanning. Supports nested
    paths such as --subtree src/dirplot/fonts.

Fixed

  • --exclude on pod and Docker backends now prunes entire subtrees — previously only
    the exact path was matched, so all children leaked through.
  • Clearer error for distroless pods: exit code 126 from kubectl exec now surfaces as
    an actionable message explaining that the container has no shell or find utility.
  • Adaptive file-label font size is now computed with a single textbbox measurement
    (one call per tile) instead of stepping down one pixel at a time — eliminates an
    O(font_size × n_tiles) bottleneck that caused near-blocking on large trees such as
    .venv directories.

Changed

  • -s short alias reassigned from --font-size to --subtree. --font-size still
    works as before; it just no longer has a single-letter alias.