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

#include <memory-source-accessor.hh>

Classes

struct  Directory
 
struct  Regular
 
struct  Symlink
 

Public Types

using Raw = std::variant<Regular, Directory, Symlink>
 

Public Member Functions

bool operator== (const File &) const noexcept
 
std::strong_ordering operator<=> (const File &) const noexcept
 
 MAKE_WRAPPER_CONSTRUCTOR (File)
 
Stat lstat () const
 

Public Attributes

Raw raw
 

Detailed Description

In addition to being part of the implementation of MemorySourceAccessor, this has a side benefit of nicely defining what a "file system object" is in Nix.


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