1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-26 17:57:50 +00:00
restic/internal/backend/s3
greatroar 0d4f16b6ba Return s3.fileInfos by pointer
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.
2021-06-07 19:48:43 +02:00
..
config.go s3: Remove dots for config description 2020-11-11 20:20:35 +01:00
config_test.go
s3.go Return s3.fileInfos by pointer 2021-06-07 19:48:43 +02:00
s3_test.go