Lines Matching refs:tempdir
9 let tempdir = tempfile::tempdir().unwrap();
12 .add_watch(tempdir.path(), AddWatchFlags::IN_ALL_EVENTS)
18 File::create(tempdir.path().join("test")).unwrap();
27 let tempdir = tempfile::tempdir().unwrap();
30 .add_watch(tempdir.path(), AddWatchFlags::IN_ALL_EVENTS)
36 File::create(tempdir.path().join("test")).unwrap();
37 rename(tempdir.path().join("test"), tempdir.path().join("test2")).unwrap();