forked from lix-project/lix
docstrings: NixRepl::getDerivationPath: exceptions directly thrown
getDerivationPath() directly throws nix::Error for invalid derivations
Change-Id: I81ead950060b789794fa683b61c6349fece1690d
This commit is contained in:
parent
5986a720d4
commit
742c62a6eb
|
@ -107,6 +107,11 @@ struct NixRepl
|
||||||
void initEnv() override;
|
void initEnv() override;
|
||||||
|
|
||||||
virtual StringSet completePrefix(const std::string & prefix) override;
|
virtual StringSet completePrefix(const std::string & prefix) override;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @exception nix::Error thrown directly if the expression does not evaluate
|
||||||
|
* to a derivation, or evaluates to an invalid derivation.
|
||||||
|
*/
|
||||||
StorePath getDerivationPath(Value & v);
|
StorePath getDerivationPath(Value & v);
|
||||||
ProcessLineResult processLine(std::string line);
|
ProcessLineResult processLine(std::string line);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue