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

Function local_dir_snapshot

datafusion/execution/src/disk_manager.rs:500–507  ·  view source on GitHub ↗
(dm: &DiskManager)

Source from the content-addressed store, hash-verified

498 }
499
500 fn local_dir_snapshot(dm: &DiskManager) -> Vec<PathBuf> {
501 dm.local_dirs
502 .lock()
503 .iter()
504 .flatten()
505 .map(|p| p.path().into())
506 .collect()
507 }
508
509 #[test]
510 fn file_in_right_dir() -> Result<()> {

Callers 1

lazy_temp_dir_creationFunction · 0.85

Calls 6

collectMethod · 0.80
flattenMethod · 0.80
mapMethod · 0.45
iterMethod · 0.45
intoMethod · 0.45
pathMethod · 0.45

Tested by 1

lazy_temp_dir_creationFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…