|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <path-with-outputs.hh>
Public Types | |
| typedef std::variant< StorePathWithOutputs, StorePath, std::monostate > | ParseResult |
Public Member Functions | |
| std::string | to_string (const Store &store) const |
| DerivedPath | toDerivedPath () const |
Static Public Member Functions | |
| static StorePathWithOutputs::ParseResult | tryFromDerivedPath (const DerivedPath &) |
Public Attributes | |
| StorePath | path |
| std::set< std::string > | outputs = {} |
This is a deprecated old type just for use by the old CLI, and older versions of the RPC protocols. In new code don't use it; you want DerivedPath instead.
DerivedPath is better because it handles more cases, and does so more explicitly without devious punning tricks.