fswatch 1.20.1
Loading...
Searching...
No Matches
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.
std::string win_w_to_posix (std::wstring path)
 Converts a Windows path to POSIX.

Detailed Description

Path conversion functions.

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

Function Documentation

◆ posix_to_win_w()

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.

◆ win_w_to_posix()

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.