Return true if this disk manager supports creating temporary files. If this returns false, any call to `create_tmp_file` will error.
(&self)
| 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 | /// |
no outgoing calls
no test coverage detected