![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Types | |
| typedef std::map< ref< const Node >, std::string > | KeyMap |
Public Member Functions | |
| LockFile (const fetchers::Settings &fetchSettings, std::string_view contents, std::string_view path) | |
| std::pair< nlohmann::json, KeyMap > | toJSON () const |
| std::pair< std::string, KeyMap > | to_string () const |
| std::optional< FlakeRef > | isUnlocked (const fetchers::Settings &fetchSettings) const |
| bool | operator== (const LockFile &other) const |
| std::shared_ptr< Node > | findInput (const InputAttrPath &path) |
| std::map< InputAttrPath, Node::Edge > | getAllInputs () const |
| void | check () |
Static Public Member Functions | |
| static std::string | diff (const LockFile &oldLocks, const LockFile &newLocks) |
Public Attributes | |
| ref< Node > | root = make_ref<Node>() |
| void nix::flake::LockFile::check | ( | ) |
Check that every 'follows' input target exists.
| std::optional< FlakeRef > nix::flake::LockFile::isUnlocked | ( | const fetchers::Settings & | fetchSettings | ) | const |
Check whether this lock file has any unlocked or non-final inputs. If so, return one.