From e5fbf5804192fa62d0edab0f6b323cc0c8d890f9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 10 Jul 2003 18:48:11 +0000 Subject: * A command to register successor fstate expressions. Unifying substitutes and successors isn't very feasible for now, since substitutes are only used when no path with a certain is known. Therefore, a normal form of some expression stored as a substitute would not be used unless the expression itself was missing. --- src/fstate.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fstate.hh') diff --git a/src/fstate.hh b/src/fstate.hh index 8a873a5acd22..9a8955aeb95b 100644 --- a/src/fstate.hh +++ b/src/fstate.hh @@ -93,5 +93,8 @@ ATerm termFromHash(const Hash & hash, string * p = 0); /* Write an aterm to the Nix store directory, and return its hash. */ Hash writeTerm(ATerm t, const string & suffix, string * p = 0); +/* Register a successor. */ +void registerSuccessor(const Hash & fsHash, const Hash & scHash); + #endif /* !__EVAL_H */ -- cgit 1.4.1