MySQL 8.4.0
Source Code Documentation
stdx::filesystem Namespace Reference

Namespaces

namespace  impl
 

Classes

class  path
 

Functions

HARNESS_STDX_EXPORT path current_path ()
 get current path. More...
 
HARNESS_STDX_EXPORT path current_path (std::error_code &ec) noexcept
 get current path. More...
 
HARNESS_STDX_EXPORT bool remove (const path &p, std::error_code &ec) noexcept
 
static std::error_code last_posix_error_code ()
 
static std::error_code last_error_code ()
 
path temp_directory_path (std::error_code &ec)
 

Function Documentation

◆ current_path() [1/2]

path stdx::filesystem::current_path ( )

get current path.

Exceptions
std::system_erroron error
Returns
current path

◆ current_path() [2/2]

path stdx::filesystem::current_path ( std::error_code &  ec)
noexcept

get current path.

sets ec on error.

Returns
current path

◆ last_error_code()

static std::error_code stdx::filesystem::last_error_code ( )
static

◆ last_posix_error_code()

static std::error_code stdx::filesystem::last_posix_error_code ( )
static

◆ remove()

bool stdx::filesystem::remove ( const path p,
std::error_code &  ec 
)
noexcept

◆ temp_directory_path()

path stdx::filesystem::temp_directory_path ( std::error_code &  ec)