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

Method is_folder

datafusion/datasource/src/url.rs:329–331  ·  view source on GitHub ↗

Returns true if the [`ListingTableUrl`] points to the folder

(&self)

Source from the content-addressed store, hash-verified

327
328 /// Returns true if the [`ListingTableUrl`] points to the folder
329 pub fn is_folder(&self) -> bool {
330 self.url.scheme() == "file" && self.is_collection()
331 }
332
333 /// Return the `url` for [`ListingTableUrl`]
334 pub fn get_url(&self) -> &Url {

Callers 1

createMethod · 0.80

Calls 2

schemeMethod · 0.80
is_collectionMethod · 0.80

Tested by

no test coverage detected