storage/internal/dedup
Kir Kolyshkin 8395a8b205 Fix and annotate Stat_t fields conversion
For struct Stat_t in syscall pkg:
 - Ino is always uint64;
 - Dev/Rdev can be uint64, uint32, or int32;
 - Nlink might be uint64, uint32, or uint16.

Fix the code accordingly, adding or removing typecasts where needed,
and annotating those with //nolint:unconvert to calm down the unconvert
linter.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2025-04-01 16:18:55 -07:00
..
dedup.go internal/dedup: fix ST1012 linter warning 2025-03-26 18:42:54 -07:00
dedup_linux.go Fix and annotate Stat_t fields conversion 2025-04-01 16:18:55 -07:00
dedup_linux_test.go internal/dedup: fix ST1012 linter warning 2025-03-26 18:42:54 -07:00
dedup_unsupported.go internal/dedup: fix ST1012 linter warning 2025-03-26 18:42:54 -07:00