Lines Matching full:path
10 use std::path::Path;
100 let filename = tempdir.path().join("foo.txt");
114 let filename = tempdir.path().join("foo.txt");
117 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty());
130 let filename = tempdir.path().join("bar.txt");
131 let linkname = tempdir.path().join("barlink");
152 let filename = tempdir.path().join("foo.txt");
177 let fullpath = tempdir.path().join(filename);
181 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
193 chdir(tempdir.path()).unwrap();
227 let fullpath = tempdir.path().join("file");
245 let target = tempdir.path().join("target");
246 let fullpath = tempdir.path().join("symlink");
272 let fullpath = tempdir.path().join("file");
288 let fullpath = tempdir.path().join(filename);
292 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
305 chdir(tempdir.path()).unwrap();
324 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
327 assert!(Path::exists(&tempdir.path().join(filename)));
338 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
341 let permissions = fs::metadata(tempdir.path().join(filename))
355 &tempdir.path().join(not_dir_filename),
378 let target = tempdir.path().join(file_name);
403 Dir::open(tempdir.path(), OFlag::O_DIRECTORY, Mode::S_IRWXU).unwrap();