Martin von Zweigbergk
404f31cbc1
backend: add error variant for access denied, handle when diffing
...
Some backends, like the one we have at Google, can restrict access to
certain files. For such files, if they return a regular
`BackendError::ReadObject`, then that will terminate iteration in many
cases (e.g. when diffing or listing files). This patch adds a new
error variant for them to return instead, plus handling of such errors
in diff output and in the working copy.
In order to test the feature, I added a new commit backend that
returns the new `ReadAccessDenied` error when the caller tries to read
certain objects.
2024-05-30 18:27:38 -07:00
..
2024-04-22 21:05:49 +08:00
2024-05-11 10:16:09 +02:00
2024-05-30 18:27:38 -07:00
2024-05-29 06:54:30 -07:00
2024-05-30 18:27:38 -07:00
2024-04-20 10:26:04 -04:00
2024-05-24 19:35:45 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-30 18:27:38 -07:00
2024-05-17 13:55:20 -07:00
2024-05-20 18:36:51 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-24 19:35:45 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-20 18:36:51 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-02-12 10:28:09 -08:00
2024-04-01 10:12:13 +09:00
2024-05-25 10:29:30 +09:00
2024-05-17 13:55:20 -07:00
2024-05-22 11:20:57 -07:00
2024-04-01 10:12:13 +09:00
2024-05-29 00:57:50 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-04-01 10:12:13 +09:00
2024-05-20 18:36:51 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-20 18:36:51 -07:00
2024-05-27 06:25:27 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-20 18:36:51 -07:00
2024-05-20 18:36:51 -07:00
2024-05-21 10:52:31 -04:00
2024-02-06 18:19:41 -08:00
2024-02-06 18:19:41 -08:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-05-20 18:36:51 -07:00
2024-05-17 13:55:20 -07:00
2024-05-09 08:51:34 +09:00
2024-05-18 09:53:52 +09:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00
2024-02-06 18:19:41 -08:00
2024-02-19 22:44:38 -08:00
2024-05-17 13:55:20 -07:00
2024-05-17 13:55:20 -07:00