#include <optional>
#include <string>
#include <string_view>
Go to the source code of this file.
|
std::string | nix::os_string_to_string (OsStringView path) |
|
OsString | nix::string_to_os_string (std::string_view s) |
|
◆ OS_STR
Value:
return s
Definition lexer.l:459
Create string literals with the native character width of paths
◆ OsChar
Initial value:Named because it is similar to the Rust type, except it is in the native encoding not WTF-8.
Same as std::filesystem::path::value_type
, but manually defined to avoid including a much more complex header.
◆ OsString
Named because it is similar to the Rust type, except it is in the native encoding not WTF-8.
Same as std::filesystem::path::string_type
, but manually defined for the same reason as OsChar
.
◆ OsStringView
std::string_view
counterpart for OsString
.