MySQL 8.0.40
Source Code Documentation
config_files.cc File Reference
#include <algorithm>
#include <fstream>
#include "mysql/harness/filesystem.h"
#include "mysql/harness/stdx/expected.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/config_files.h"

Functions

std::string use_ini_extension (const std::string &file_name)
 
static bool contains (const std::vector< std::string > &container, const std::string &file)
 
const std::error_category & config_file_path_validator_category () noexcept
 
std::error_code make_error_code (ConfigFilePathValidatorErrc e)
 

Function Documentation

◆ config_file_path_validator_category()

const std::error_category & config_file_path_validator_category ( )
noexcept

◆ contains()

static bool contains ( const std::vector< std::string > &  container,
const std::string &  file 
)
static

◆ make_error_code()

std::error_code make_error_code ( ConfigFilePathValidatorErrc  e)

◆ use_ini_extension()

std::string use_ini_extension ( const std::string &  file_name)