Merge pull request #21796 from restic/go-1.25

Bump minimum go version to 1.25 & update dependencies
This commit is contained in:
Michael Eischer
2026-05-12 18:56:09 +02:00
committed by GitHub
14 changed files with 185 additions and 168 deletions
+3 -3
View File
@@ -456,8 +456,8 @@ func (s *sizeHistogram) Add(size uint64) {
func (s sizeHistogram) String() string {
var out strings.Builder
out.WriteString(fmt.Sprintf("Count: %d\n", s.count))
out.WriteString(fmt.Sprintf("Total Size: %s\n", ui.FormatBytes(s.totalSize)))
fmt.Fprintf(&out, "Count: %d\n", s.count)
fmt.Fprintf(&out, "Total Size: %s\n", ui.FormatBytes(s.totalSize))
t := table.New()
t.AddColumn("Size", "{{.SizeRange}}")
@@ -506,7 +506,7 @@ func (s sizeHistogram) String() string {
_ = t.Write(&out)
if len(s.oversized) > 0 {
out.WriteString(fmt.Sprintf("Oversized: %v\n", s.oversized))
fmt.Fprintf(&out, "Oversized: %v\n", s.oversized)
}
return out.String()
}