![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| AttrCursor (ref< EvalCache > root, Parent parent, Value *value=nullptr, std::optional< std::pair< AttrId, AttrValue > > &&cachedValue={}) | |
| AttrPath | getAttrPath () const |
| AttrPath | getAttrPath (Symbol name) const |
| std::string | getAttrPathStr () const |
| std::string | getAttrPathStr (Symbol name) const |
| Suggestions | getSuggestionsForAttr (Symbol name) |
| std::shared_ptr< AttrCursor > | maybeGetAttr (Symbol name) |
| std::shared_ptr< AttrCursor > | maybeGetAttr (std::string_view name) |
| ref< AttrCursor > | getAttr (Symbol name) |
| ref< AttrCursor > | getAttr (std::string_view name) |
| OrSuggestions< ref< AttrCursor > > | findAlongAttrPath (const AttrPath &attrPath) |
| std::string | getString () |
| string_t | getStringWithContext () |
| bool | getBool () |
| NixInt | getInt () |
| std::vector< std::string > | getListOfStrings () |
| std::vector< Symbol > | getAttrs () |
| bool | isDerivation () |
| Value & | forceValue () |
| StorePath | forceDerivation () |
Friends | |
| class | EvalCache |
| struct | CachedEvalError |
| OrSuggestions< ref< AttrCursor > > nix::eval_cache::AttrCursor::findAlongAttrPath | ( | const AttrPath & | attrPath | ) |
Get an attribute along a chain of attrsets. Note that this does not auto-call functors or functions.
| StorePath nix::eval_cache::AttrCursor::forceDerivation | ( | ) |
Force creation of the .drv file in the Nix store.