libfswatch  1.9.3
Functions
fsw::win_paths Namespace Reference

Path conversion functions. More...

Functions

wstring posix_to_win_w (string path)
 
string win_w_to_posix (wstring path)
 
std::wstring posix_to_win_w (std::string path)
 Converts a POSIX path to Windows. More...
 
std::string win_w_to_posix (std::wstring path)
 Converts a Windows path to POSIX. More...
 

Detailed Description

Path conversion functions.

This namespace contains utility functions for POSIX to Windows and Windows to POSIX path conversion functions.

Function Documentation

std::wstring fsw::win_paths::posix_to_win_w ( std::string  path)

Converts a POSIX path to Windows.

Parameters
pathThe POSIX path to convert to a Windows path.
Returns
The converted Windows path.
std::string fsw::win_paths::win_w_to_posix ( std::wstring  path)

Converts a Windows path to POSIX.

Parameters
pathThe Windows path to convert to POSIX.
Returns
The converted POSIX path.