2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-15 23:32:21 +00:00
restic/internal/dump
Michael Eischer 0b39940fdb walker: Remove ignoreTrees functionality
It was only used in two places:
- stats: apparently as a minor performance optimization, which is
  unlikely to be important
- find: filtered directories would be ignored. However, this
  optimization missed that it is possible that two directories have the
  exact same content. Such directories would be incorrectly ignored too.
  Example:
```
mkdir test test/a test/b
restic backup test
restic find latest test/b
-> incorrectly does not return anything
```

Thus, remove the functionality as it's apparently too complex to use
correctly.
2024-01-19 21:16:06 +01:00
..
acl_test.go dump: Rewrite Linux ACL handling 2023-08-13 13:37:11 +02:00
acl.go dump: Rewrite Linux ACL handling 2023-08-13 13:37:11 +02:00
common_test.go repository: Remove empty cleanup functions in tests 2022-12-11 11:06:25 +01:00
common.go walker: Remove ignoreTrees functionality 2024-01-19 21:16:06 +01:00
tar_test.go dump: Report filename with tar.ErrFieldTooLong 2023-04-27 11:45:41 +02:00
tar.go dump: Rewrite Linux ACL handling 2023-08-13 13:37:11 +02:00
zip_test.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
zip.go Refactor internal/dump + concurrent load/write 2021-11-01 23:01:55 +01:00