Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
os-canon-path.hh File Reference
#include "nix/util/canon-path.hh"
#include "nix/util/os-filename.hh"
#include <filesystem>
#include <optional>

Go to the source code of this file.

Classes

class  nix::OsCanonPath
class  nix::OsCanonPath::Iterator

Functions

OsCanonPath nix::operator/ (const OsFilename &a, const OsFilename &b)

Function Documentation

◆ operator/()

OsCanonPath nix::operator/ ( const OsFilename & a,
const OsFilename & b )

Concatenate two OsFilenames into an OsCanonPath.

This explicit overload is needed because OsFilename / OsFilename would otherwise be ambiguous between converting the LHS or RHS.