Function disk_utils::testing::create_test_file
[−]
[src]
pub fn create_test_file<P: AsRef<Path> + ?Sized + RefUnwindSafe, F: FnOnce(&P, File) -> R + UnwindSafe, R>(
path: &P,
fun: F
) -> Result<R>