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

Method tmp_files_enabled

datafusion/execution/src/disk_manager.rs:296–298  ·  view source on GitHub ↗

Return true if this disk manager supports creating temporary files. If this returns false, any call to `create_tmp_file` will error.

(&self)

Source from the content-addressed store, hash-verified

294 /// files. If this returns false, any call to `create_tmp_file`
295 /// will error.
296 pub fn tmp_files_enabled(&self) -> bool {
297 self.local_dirs.lock().is_some()
298 }
299
300 /// Return a temporary file from a randomized choice in the configured locations
301 ///

Callers 5

newMethod · 0.80
executeMethod · 0.80
allocate_reservationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected