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

Public Member Functions

bool isNotNARSerialisable ()
 
std::string typeString ()
 

Public Attributes

Type type = tUnknown
 
std::optional< uint64_t > fileSize
 
bool isExecutable = false
 
std::optional< uint64_t > narOffset
 

Member Data Documentation

◆ fileSize

std::optional<uint64_t> nix::SourceAccessor::Stat::fileSize

For regular files only: the size of the file. Not all accessors return this since it may be too expensive to compute.

◆ isExecutable

bool nix::SourceAccessor::Stat::isExecutable = false

For regular files only: whether this is an executable.

◆ narOffset

std::optional<uint64_t> nix::SourceAccessor::Stat::narOffset

For regular files only: the position of the contents of this file in the NAR. Only returned by NAR accessors.


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