![]() |
MySQL 9.3.0
Source Code Documentation
|
#include "utils/utils_path.h"
#include <algorithm>
#include <string>
#include <tuple>
#include "utils/utils_string.h"
Namespaces | |
namespace | shcore |
namespace | shcore::path |
namespace | shcore::path::detail |
Functions | |
std::string | shcore::path::detail::expand_user (const std::string &path, const std::string &sep) |
std::tuple< std::string, std::string > | shcore::path::detail::split_extension (const std::string &path, const std::string &sep) |
size_t | shcore::path::detail::span_dirname (const std::string &path) |
std::string | shcore::path::search_stdpath (const std::string &name) |
Returns path to the given executable name searched in PATH. More... | |
std::string | shcore::path::search_path_list (const std::string &name, const std::string &pathlist, const char separator=0) |
Returns path to the given executable name searched in the given path list string, separated by the given separator. More... | |
bool | shcore::path::is_path_separator (char c) |
Checks if character is a path separator. More... | |