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

Method prefix

datafusion/datasource/src/url.rs:169–171  ·  view source on GitHub ↗

Return the URL path not excluding any glob expression If [`Self::is_collection`], this is the listing prefix Otherwise, this is the path to the object

(&self)

Source from the content-addressed store, hash-verified

167 /// If [`Self::is_collection`], this is the listing prefix
168 /// Otherwise, this is the path to the object
169 pub fn prefix(&self) -> &Path {
170 &self.prefix
171 }
172
173 /// Returns `true` if `path` matches this [`ListingTableUrl`]
174 pub fn contains(&self, path: &Path, ignore_subdirectory: bool) -> bool {

Callers 13

generate_file_pathFunction · 0.80
generate_fileFunction · 0.80
generate_fileFunction · 0.80
generate_fileFunction · 0.80
make_test_file_rgFunction · 0.80
make_test_file_pageFunction · 0.80
get_test_dataFunction · 0.80
insert_intoMethod · 0.80
list_partitionsFunction · 0.80

Calls

no outgoing calls

Tested by 5

make_test_file_rgFunction · 0.64
make_test_file_pageFunction · 0.64
get_test_dataFunction · 0.64