diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-19 11:16:11 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-19 11:16:11 +0000 |
commit | 863dcff6c5ffc163010ec1f9e6819bb9aaaadc29 (patch) | |
tree | 4747222c7f8c471e6cbfa07c49023853d2f6b957 /src/nix-store/dotgraph.cc | |
parent | e9762e2d10c4a837e3d75d53e3a24452f07f47ec (diff) |
* Started removing closure store expressions, i.e., the explicit
representation of closures as ATerms in the Nix store. Instead, the
file system pointer graph is now stored in the Nix database. This
has many advantages:
- It greatly simplifies the implementation (we can drop the notion
of `successors', and so on).
- It makes registering roots for the garbage collector much easier.
Instead of specifying the closure expression as a root, you can
simply specify the store path that must be retained as a root.
This could not be done previously, since there was no way to find
the closure store expression containing a given store path.
- Better traceability: it is now possible to query what paths are
referenced by a path, and what paths refer to a path.
Diffstat (limited to 'src/nix-store/dotgraph.cc')
-rw-r--r-- | src/nix-store/dotgraph.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-store/dotgraph.cc b/src/nix-store/dotgraph.cc index b13846c04..67473a81f 100644 --- a/src/nix-store/dotgraph.cc +++ b/src/nix-store/dotgraph.cc @@ -2,6 +2,7 @@ #include "normalise.hh" +#if 0 static string dotQuote(const string & s) { return "\"" + s + "\""; @@ -133,3 +134,4 @@ void printDotGraph(const PathSet & roots) cout << "}\n"; } +#endif |