Fix 32-bit build, add 386 to CI, log scan completion

This commit is contained in:
Andy Dixon
2026-10-02 08:33:47 +01:00
parent b771a57bc4
commit 6bb8ddc0f7
4 changed files with 11 additions and 3 deletions
+3
View File
@@ -10,6 +10,7 @@ package tui
import (
"context"
"fmt"
"log/slog"
"os"
"path/filepath"
"strings"
@@ -324,6 +325,8 @@ func (m *Model) scanFinished() tea.Cmd {
errs := st.TotalErrors()
el := st.Elapsed()
t.RUnlock()
slog.Info("scan finished", "files", files, "dirs", st.Dirs, "bytes", total, "errors", errs,
"cancelled", st.Cancelled, "elapsed", el)
var cmds []tea.Cmd
rate := float64(files+st.Dirs) / max(el.Seconds(), 0.001)
msg := fmt.Sprintf("✓ Scan complete %s · %s files · %s dirs · %s · %s/s",