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

Method file_stem

datafusion-examples/src/utils/datasets/mod.rs:37–42  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

35
36impl ExampleDataset {
37 pub fn file_stem(&self) -> &'static str {
38 match self {
39 Self::Cars => "cars",
40 Self::Regex => "regex",
41 }
42 }
43
44 pub fn path(&self) -> PathBuf {
45 PathBuf::from(env!("CARGO_MANIFEST_DIR"))

Callers 5

iterate_queriesFunction · 0.80
setup_scratch_dirFunction · 0.80
setup_scratch_dirFunction · 0.80
scratch_file_checkFunction · 0.80

Calls

no outgoing calls

Tested by 3

iterate_queriesFunction · 0.64
setup_scratch_dirFunction · 0.64
scratch_file_checkFunction · 0.64