lix/src/nix-store
John Ericson 6636202356 Factor out a GcStore interface
Starts progress on #5729.

The idea is that we should not have these default methods throwing
"unimplemented". This is a small step in that direction.

I kept `addTempRoot` because it is a no-op, rather than failure. Also,
as a practical matter, it is called all over the place, while doing
other tasks, so the downcasting would be annoying.

Maybe in the future I could move the "real" `addTempRoot` to `GcStore`,
and the existing usecases use a `tryAddTempRoot` wrapper to downcast or
do nothing, but I wasn't sure whether that was a good idea so with a
bias to less churn I didn't do it yet.
2022-03-03 19:01:25 +00:00
..
dotgraph.cc Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
dotgraph.hh Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
graphml.cc Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
graphml.hh Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
nix-store.cc Factor out a GcStore interface 2022-03-03 19:01:25 +00:00