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> |
||
|---|---|---|
| .. | ||
| copy_linux.go | ||
| copy_test.go | ||
| copy_unsupported.go | ||