Willie
13744f89a8
refactor: consolidate duplicated utilities and simplify diff API
...
- Extract shared applyDetailScroll into tui_helpers.go (was duplicated
across diff_tui.go, log_tui.go, audit_tui.go)
- Create utils.FileHash and utils.FileHashFormatted, replacing private
copies in install/meta.go and audit/audit.go
- Export install.MetaFileName constant, use from diff_file.go
- Replace double SHA-256 in fileContentsEqual with streaming byte compare
for early-exit efficiency
- Add 1MB size cap to generateUnifiedDiff to prevent performance issues
- Move noTUI into diffRenderOpts struct, simplifying function signatures
2026-03-02 02:23:50 +08:00
..
2026-02-28 03:44:02 +08:00
2026-02-25 07:02:54 +08:00
2026-02-24 01:47:38 +08:00
2026-03-02 02:23:50 +08:00
2026-02-21 06:07:35 +08:00
2026-02-25 07:02:54 +08:00
2026-02-26 22:27:23 +08:00
2026-02-28 18:48:51 +08:00
2026-02-16 00:08:59 +08:00
2026-02-11 03:40:54 +08:00
2026-02-25 07:02:54 +08:00
2026-03-02 02:23:50 +08:00
2026-02-28 18:48:51 +08:00
2026-02-16 00:08:59 +08:00
2026-02-16 00:08:59 +08:00
2026-02-11 03:40:54 +08:00
2026-02-13 14:21:37 +08:00
2026-02-13 14:21:37 +08:00
2026-02-24 01:47:38 +08:00
2026-02-28 03:44:02 +08:00
2026-02-23 04:18:01 +08:00
2026-02-21 06:07:35 +08:00
2026-02-18 22:23:50 +08:00
2026-02-18 22:23:50 +08:00
2026-02-18 22:23:50 +08:00
2026-02-27 05:39:49 +08:00
2026-02-25 07:02:54 +08:00
2026-02-18 22:23:50 +08:00
2026-02-18 22:23:50 +08:00
2026-02-25 07:02:54 +08:00
2026-02-23 04:18:01 +08:00
2026-02-24 01:47:38 +08:00
2026-02-25 07:02:54 +08:00
2026-02-24 01:47:38 +08:00
2026-02-21 06:07:35 +08:00
2026-02-25 07:02:54 +08:00
2026-02-25 07:02:54 +08:00
2026-02-26 22:27:23 +08:00
2026-02-16 00:08:59 +08:00
2026-02-24 01:47:38 +08:00
2026-02-11 03:40:54 +08:00
2026-02-22 15:13:10 +08:00
2026-02-21 21:12:51 +08:00
2026-03-02 02:23:50 +08:00
2026-02-27 05:39:49 +08:00
2026-02-13 14:21:37 +08:00
2026-02-11 03:40:54 +08:00
2026-02-16 00:08:59 +08:00
2026-02-16 00:08:59 +08:00
2026-02-11 03:40:54 +08:00
2026-02-27 05:39:49 +08:00
2026-02-16 00:08:59 +08:00
2026-02-26 22:27:23 +08:00
2026-02-20 13:45:52 +08:00
2026-02-25 07:02:54 +08:00
2026-02-16 00:08:59 +08:00
2026-02-21 06:07:35 +08:00
2026-02-21 06:07:35 +08:00
2026-03-02 02:23:50 +08:00
2026-02-16 00:08:59 +08:00
2026-02-16 10:41:14 +08:00
2026-02-25 07:02:54 +08:00
2026-02-27 05:39:49 +08:00
2026-02-16 10:41:14 +08:00
2026-02-21 06:07:35 +08:00
2026-02-23 04:18:01 +08:00
2026-02-26 22:27:23 +08:00
2026-02-26 22:27:23 +08:00
2026-02-25 07:02:54 +08:00
2026-02-16 14:51:13 +08:00
2026-02-11 03:40:54 +08:00
2026-02-16 10:41:14 +08:00