diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-10-10T15·25+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-10-10T15·25+0000 |
commit | 1d61e473c88568fae7ef5edebc77acd53e4126f9 (patch) | |
tree | 403c4cec6f2093cb16e95362b60ea058af714eb7 /src/store.hh | |
parent | 0abe185688aa19c9ca87c9d22e24a54b4b359969 (diff) |
* New query `nix --query --predecessors' to print the predecessors of
a Nix expression.
Diffstat (limited to 'src/store.hh')
-rw-r--r-- | src/store.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/store.hh b/src/store.hh index abf874543164..7851b1e3d874 100644 --- a/src/store.hh +++ b/src/store.hh @@ -22,6 +22,10 @@ void copyPath(const Path & src, const Path & dst); void registerSuccessor(const Transaction & txn, const Path & srcPath, const Path & sucPath); +/* Return the predecessors of the Nix expression stored at the given + path. */ +Paths queryPredecessors(const Path & sucPath); + /* Register a substitute. */ void registerSubstitute(const Path & srcPath, const Path & subPath); |