mirror of
https://github.com/restic/restic.git
synced 2025-03-14 23:00:51 +00:00

Since the fileInfos are returned in a []interface, they're already allocated on the heap. Making them pointers explicitly means the compiler doesn't need to generate fileInfo and *fileInfo versions of the methods on this type. The binary becomes about 7KiB smaller on Linux/amd64.