![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <file-path-impl.hh>
Public Types | |
| using | CharT = CharT0 |
| using | String = std::basic_string<CharT> |
| using | StringView = std::basic_string_view<CharT> |
Static Public Attributes | |
| static constexpr CharT | preferredSep = '\\' |
Windows-style path primitives.
The character type is a parameter because while windows paths rightly work over UTF-16 (*) using wchar_t, at the current time we are often manipulating them converted to UTF-8 (*) using char.
(Actually neither are guaranteed to be valid unicode; both are arbitrary non-0 8- or 16-bit bytes. But for characters with specifical meaning like '/', '\', ':', etc., we refer to an encoding scheme, and also for sake of UIs that display paths a text.)