MCPcopy Create free account
hub / github.com/apache/datafusion / get_opts

Method get_opts

datafusion/datasource/src/url.rs:1108–1121  ·  view source on GitHub ↗
(
            &self,
            location: &Path,
            options: GetOptions,
        )

Source from the content-addressed store, hash-verified

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,

Callers 6

find_first_newlineFunction · 0.45
get_streamFunction · 0.45
openMethod · 0.45
openMethod · 0.45
openMethod · 0.45

Calls 3

containsMethod · 0.45
to_stringMethod · 0.45
intoMethod · 0.45

Tested by

no test coverage detected