(
&self,
location: &Path,
options: GetOptions,
)
| 1106 | } |
| 1107 | |
| 1108 | async fn get_opts( |
| 1109 | &self, |
| 1110 | location: &Path, |
| 1111 | options: GetOptions, |
| 1112 | ) -> object_store::Result<GetResult> { |
| 1113 | if options.head && self.forbidden_paths.contains(location) { |
| 1114 | Err(object_store::Error::PermissionDenied { |
| 1115 | path: location.to_string(), |
| 1116 | source: "forbidden".into(), |
| 1117 | }) |
| 1118 | } else { |
| 1119 | self.in_mem.get_opts(location, options).await |
| 1120 | } |
| 1121 | } |
| 1122 | |
| 1123 | async fn get_ranges( |
| 1124 | &self, |
no test coverage detected