Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::UnixPathTrait Struct Reference

#include <file-path-impl.hh>

Public Types

using CharT = char
 
using String = std::string
 
using StringView = std::string_view
 

Static Public Member Functions

static bool isPathSep (char c)
 
static size_t findPathSep (StringView path, size_t from=0)
 
static size_t rfindPathSep (StringView path, size_t from=StringView::npos)
 

Static Public Attributes

static constexpr char preferredSep = '/'
 

Detailed Description

Unix-style path primives.

Nix'result own "logical" paths are always Unix-style. So this is always used for that, and additionally used for native paths on Unix.


The documentation for this struct was generated from the following file: