Lines Matching refs:fs
51 #include "fs.hpp"
61 static void cleanup_aux(const atf::fs::path&, dev_t, bool);
62 static void cleanup_aux_dir(const atf::fs::path&, const atf::fs::file_info&,
64 static void do_unmount(const atf::fs::path&);
86 cleanup_aux(const atf::fs::path& p, dev_t parent_device, bool erase)
89 atf::fs::file_info fi(p);
91 if (fi.get_type() == atf::fs::file_info::dir_type)
98 if (fi.get_type() == atf::fs::file_info::dir_type)
99 atf::fs::rmdir(p);
101 atf::fs::remove(p);
111 cleanup_aux_dir(const atf::fs::path& p, const atf::fs::file_info& fi,
137 const atf::fs::directory d(p);
160 do_unmount(const atf::fs::path& in_path)
165 const atf::fs::path& abs_path = in_path.is_absolute() ?
188 const atf::fs::path prog("umount");
202 impl::temp_dir::temp_dir(const atf::fs::path& p)
211 m_path.reset(new atf::fs::path(buf.get()));
219 const atf::fs::path&
230 atf::fs::path
231 impl::change_directory(const atf::fs::path& dir)
233 atf::fs::path olddir = get_current_dir();
245 impl::cleanup(const atf::fs::path& p)
247 atf::fs::file_info fi(p);
251 atf::fs::path
264 return atf::fs::path(cwd.get());