mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
ce902aac67
Instead of first checking whether a file is in the repository cache and then opening it, we just can open the file. This saves one stat call. If the file is in the cache, everything is fine and otherwise the code follows its normal fallback path. |
||
---|---|---|
.. | ||
backend.go | ||
backend_test.go | ||
cache.go | ||
dir.go | ||
dir_test.go | ||
file.go | ||
file_test.go | ||
testing.go |