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

Method temp_dir_paths

datafusion/execution/src/disk_manager.rs:281–291  ·  view source on GitHub ↗

Returns the temporary directory paths

(&self)

Source from the content-addressed store, hash-verified

279
280 /// Returns the temporary directory paths
281 pub fn temp_dir_paths(&self) -> Vec<PathBuf> {
282 self.local_dirs
283 .lock()
284 .as_ref()
285 .map(|dirs| {
286 dirs.iter()
287 .map(|temp_dir| temp_dir.path().to_path_buf())
288 .collect()
289 })
290 .unwrap_or_default()
291 }
292
293 /// Return true if this disk manager supports creating temporary
294 /// files. If this returns false, any call to `create_tmp_file`

Callers 1

config_entriesMethod · 0.80

Calls 5

collectMethod · 0.80
mapMethod · 0.45
as_refMethod · 0.45
iterMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected