summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-28 13:59:58 +0300
committerPaul Buetow <paul@buetow.org>2026-06-28 13:59:58 +0300
commitf905fc9da0aed140b85efd0de1f8731cef001173 (patch)
treed46d3b02ad4ba0bf612951f15180969ac02683ce /Justfile
parentcf889b4cc771d44e36189d6fc09dfa23b2529bfd (diff)
Refactor over-length functions into ~30-line helpers (vr0)
Pure, behavior-preserving refactor: extract _-prefixed helpers from six functions that exceeded the project's 50-line threshold, leaving each original as a thin orchestrator. Generated HTML, dry-run output, shuriken.json, EXIF cache behavior and the flush-grid layout are all byte-identical (full test suite green). Refactored: - _generation_metadata_json -> _generation_metadata_json_head + _generation_metadata_json_settings - print_dry_run_plan -> _print_dry_run_settings + _print_dry_run_files - _photo_exif_tooltip_text_from_values -> _collect_exif_tooltip_parts + _emit_exif_tooltip_parts - cached_photo_identify_output -> _rebuild_photo_identify_cache - render_album_pages -> _render_album_page (one page record) - append_preview_grid -> _roll_and_align_page_tiles + _emit_page_tiles (uniquely-named namerefs to avoid circular-nameref) Left intact (delicate errexit/trap management that must stay in one function scope, where a split would change semantics): source_template_file, refresh_splash, generate_staged, replace_dist_with_staging. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'Justfile')
0 files changed, 0 insertions, 0 deletions