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

Public Member Functions

bool isKnownNow ()
 
bool didExist ()
 

Public Attributes

std::chrono::time_point< std::chrono::steady_clock > time_point = std::chrono::steady_clock::now()
 
std::shared_ptr< const ValidPathInfovalue
 

Member Function Documentation

◆ didExist()

bool nix::Store::PathInfoCacheValue::didExist ( )
inline

Past tense, because a path can only be assumed to exists when isKnownNow() && didExist()

◆ isKnownNow()

bool nix::Store::PathInfoCacheValue::isKnownNow ( )

Whether the value is valid as a cache entry. The path may not exist.

Member Data Documentation

◆ time_point

std::chrono::time_point<std::chrono::steady_clock> nix::Store::PathInfoCacheValue::time_point = std::chrono::steady_clock::now()

Time of cache entry creation or update

◆ value

std::shared_ptr<const ValidPathInfo> nix::Store::PathInfoCacheValue::value

Null if missing


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