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

Function get_url_key

datafusion/execution/src/object_store.rs:268–274  ·  view source on GitHub ↗

Get the key of a url for object store registration. The credential info will be removed

(url: &Url)

Source from the content-addressed store, hash-verified

266/// Get the key of a url for object store registration.
267/// The credential info will be removed
268fn get_url_key(url: &Url) -> String {
269 format!(
270 "{}://{}",
271 url.scheme(),
272 &url[url::Position::BeforeHost..url::Position::AfterPort],
273 )
274}
275
276#[cfg(test)]
277mod tests {

Callers 4

register_storeMethod · 0.85
deregister_storeMethod · 0.85
get_storeMethod · 0.85
test_get_url_keyFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_get_url_keyFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…