Searched refs:check_dir (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Virtualization/zipfuse/src/ |
D | inode.rs | 247 fn check_dir(it: &InodeTable, parent: Inode, name: &str) -> Inode { in check_dir() function 295 let inode = check_dir(&it, ROOT, "foo"); in one_dir() 308 let a = check_dir(&it, ROOT, "a"); in one_file_in_subdirs() 309 let b = check_dir(&it, a, "b"); in one_file_in_subdirs() 310 let c = check_dir(&it, b, "c"); in one_file_in_subdirs() 352 let a = check_dir(&it, ROOT, "a"); in complex_hierarchy() 353 let _b1 = check_dir(&it, a, "b1"); in complex_hierarchy() 354 let b2 = check_dir(&it, a, "b2"); in complex_hierarchy() 357 let c2 = check_dir(&it, b2, "c2"); in complex_hierarchy() 362 let x = check_dir(&it, ROOT, "x"); in complex_hierarchy() [all …]
|
D | main.rs | 470 fn check_dir<S: AsRef<str>>(root: &Path, dir: &str, files: &[S], dirs: &[S]) { in check_dir() function 509 check_dir::<String>(root, "", &[], &[]); in empty() 522 check_dir(root, "", &["foo"], &[]); in single_file() 535 check_dir(root, "", &[], &["dir"]); in single_dir() 536 check_dir::<String>(root, "dir", &[], &[]); in single_dir() 578 check_dir(root, "", &["foo", "bar"], &["a", "x"]); in complex_hierarchy() 579 check_dir(root, "a", &[], &["b1", "b2"]); in complex_hierarchy() 580 check_dir::<String>(root, "a/b1", &[], &[]); in complex_hierarchy() 581 check_dir(root, "a/b2", &["c1"], &["c2"]); in complex_hierarchy() 582 check_dir(root, "a/b2/c2", &["d1", "d2", "d3"], &[]); in complex_hierarchy() [all …]
|