![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <string>#include <string_view>Go to the source code of this file.
Classes | |
| struct | nix::UnixPathTrait |
| struct | nix::WindowsPathTrait< CharT0 > |
Typedefs | |
| template<typename CharT> | |
| using | nix::OsPathTrait |
Functions | |
| template<class PathDict> | |
| PathDict::String | nix::canonPathInner (typename PathDict::StringView remaining, auto &&hookComponent) |
Pure (no IO) infrastructure just for defining other path types; should not be used directly outside of utilities.
| using nix::OsPathTrait |
| PathDict::String nix::canonPathInner | ( | typename PathDict::StringView | remaining, |
| auto && | hookComponent ) |
Core pure path canonicalization algorithm.
| hookComponent | A callback which is passed two arguments, references to |
This is a chance to modify those two paths in arbitrary way, e.g. if "result" points to a symlink.