Lines Matching refs:fs
45 if (!sys::fs::exists(path) || !sys::fs::is_regular_file(path))
71 if (!sys::fs::createUniqueFile(path + "%%%%%%%%.tmp", tmpName)) {
72 if (!sys::fs::rename(path, tmpName))
75 sys::fs::remove(tmpName);
77 sys::fs::remove(path);
87 std::error_code ec = sys::fs::openFileForRead(path, fd);
88 sys::fs::remove(path);
138 std::make_unique<raw_fd_ostream>(file, ec, sys::fs::OpenFlags::OF_None);
152 std::unique_ptr<raw_fd_ostream> fs =
155 return fs;