* Outline of the new scheme for derivate distribution.

This commit is contained in:
Eelco Dolstra 2003-07-09 16:12:40 +00:00
parent 2b95a9dc05
commit 6011bd0da2
4 changed files with 35 additions and 4 deletions

View file

@ -250,6 +250,10 @@ static FState realise(FState fs, StringSet & paths)
/* Register the normal form. */
nf = storeSuccessor(fs, nf, paths);
/* Expand the hash into the target path. */
expandHash(hash, path);
#if 0
/* Perhaps the path already exists and has the right hash? */
if (pathExists(path)) {
@ -267,6 +271,7 @@ static FState realise(FState fs, StringSet & paths)
copyPath(path2, path);
}
#endif
return nf;
}