2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/backend/local
greatroar a2d4209322 Don't recurse in local backend's List if not required
Due to the return if !isFile, the IsDir branch in List was never taken
and subdirectories were traversed recursively.

Also replaced isFile by an IsRegular check, which has been equivalent
since Go 1.12 (golang/go@a2a3dd00c9).
2020-11-07 08:54:13 +01:00
..
config.go Run goimports 2017-07-23 14:21:03 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
layout_test.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
local_test.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
local_unix.go local: mark repository files as read-only 2020-10-07 12:29:37 +02:00
local_windows.go local: mark repository files as read-only 2020-10-07 12:29:37 +02:00
local.go Don't recurse in local backend's List if not required 2020-11-07 08:54:13 +01:00