MySQL 9.1.0
Source Code Documentation
filesystem.cc File Reference
#include "mysql/harness/stdx/filesystem.h"
#include <unistd.h>
#include <array>
#include <climits>
#include <system_error>
#include "mysql/harness/stdx/expected.h"

Namespaces

namespace  stdx
 
namespace  stdx::filesystem
 
namespace  stdx::filesystem::impl
 

Functions

static std::error_code stdx::filesystem::last_posix_error_code ()
 
static std::error_code stdx::filesystem::last_error_code ()
 
stdx::expected< void, std::error_code > stdx::filesystem::impl::unlink (const char *path_name)
 
stdx::expected< void, std::error_code > stdx::filesystem::impl::rmdir (const char *path_name)
 
stdx::expected< std::string, std::error_code > stdx::filesystem::impl::getcwd ()
 
path stdx::filesystem::temp_directory_path (std::error_code &ec)
 
HARNESS_STDX_EXPORT path stdx::filesystem::current_path (std::error_code &ec) noexcept
 get current path. More...
 
HARNESS_STDX_EXPORT path stdx::filesystem::current_path ()
 get current path. More...
 
HARNESS_STDX_EXPORT bool stdx::filesystem::remove (const path &p, std::error_code &ec) noexcept