Files
podman/pkg/util
Kir Kolyshkin 030057aecd Preallocate a slice
When we already know the resulting slice size but still need/want to use
append, it makes sense to preallocate the slice by using make with the
capacity argument.

This commit is part of series fixing issues reported by prealloc linter
from golangci-lint v2.8.0.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-02-11 11:41:10 -08:00
..
2025-09-26 09:09:54 -06:00
2025-09-10 16:17:04 +02:00
2025-11-11 12:32:46 +01:00
2025-11-11 12:32:46 +01:00
2025-11-11 12:32:46 +01:00
2026-02-11 11:41:10 -08:00