![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <root.hh>
Public Member Functions | |
| void | setType (Type type) override |
| void | add (std::string completion, std::string description="") override |
Public Attributes | |
| std::set< Completion > | completions |
| Type | type = Type::Normal |
Additional Inherited Members | |
| Public Types inherited from nix::AddCompletions | |
| enum class | Type { Normal , Filenames , Attrs } |
The concrete implementation of a collection of completions.
This is exposed so that the main entry point can print out the collected completions.
|
overridevirtual |
Add a single completion to the collection
Implements nix::AddCompletions.
|
overridevirtual |
Set the type of the completions being collected
Implements nix::AddCompletions.