MySQL 8.0.39
Source Code Documentation
|
#include "mysql/harness/filesystem.h"
#include <algorithm>
#include <cstring>
#include <fstream>
#include <functional>
#include <iterator>
#include <ostream>
#include <string_view>
Namespaces | |
namespace | mysql_harness |
Functions | |
static const char * | mysql_harness::file_type_name (Path::FileType type) |
std::ostream & | mysql_harness::operator<< (std::ostream &out, Path::FileType type) |
HARNESS_EXPORT stdx::expected< void, std::error_code > | mysql_harness::delete_dir_recursive (const std::string &dir) noexcept |
Removes directory and all its contents. More... | |
HARNESS_EXPORT std::string | mysql_harness::get_plugin_dir (const std::string &runtime_dir) |
HARNESS_EXPORT std::string | mysql_harness::get_tests_data_dir (const std::string &runtime_dir) |
int | mysql_harness::mkdir_wrapper (const std::string &dir, perm_mode mode) |
int | mysql_harness::mkdir_recursive (const Path &path, perm_mode mode) |
HARNESS_EXPORT int | mysql_harness::mkdir (const std::string &dir, perm_mode mode, bool recursive=false) |
Creates a directory *. More... | |
void HARNESS_EXPORT | mysql_harness::check_file_access_rights (const std::string &file_name) |
Verifies access permissions of a file. More... | |