![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| bool | isKnownNow (const NarInfoDiskCacheSettings &settings) |
| bool | didExist () |
Public Attributes | |
| std::chrono::time_point< std::chrono::steady_clock > | time_point = std::chrono::steady_clock::now() |
| std::shared_ptr< const ValidPathInfo > | value |
|
inline |
Past tense, because a path can only be assumed to exists when isKnownNow() && didExist()
| bool nix::Store::PathInfoCacheValue::isKnownNow | ( | const NarInfoDiskCacheSettings & | settings | ) |
Whether the value is valid as a cache entry. The path may not exist.
| 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
| std::shared_ptr<const ValidPathInfo> nix::Store::PathInfoCacheValue::value |
Null if missing