![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include "nix/store/store-api.hh"Go to the source code of this file.
Functions | |
| template<typename T> | |
| T & | nix::require (Store &store) |
| T & nix::require | ( | Store & | store | ) |
Helper to try downcasting a Store with a nice method if it fails.
This is basically an alternative to the user-facing part of Store::unsupported that allows us to still have a nice message but better interface design.