mirror of
https://github.com/restic/restic.git
synced 2024-12-26 17:57:50 +00:00
0d4f16b6ba
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. |
||
---|---|---|
.. | ||
config.go | ||
config_test.go | ||
s3.go | ||
s3_test.go |