1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 05:00:58 +01:00

createGeneration(): Take a StorePath

This commit is contained in:
Eelco Dolstra 2020-09-03 11:06:56 +02:00
parent 94a043ff3b
commit b74f5cdd23
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
5 changed files with 12 additions and 7 deletions

View file

@ -8,6 +8,8 @@
namespace nix {
class StorePath;
typedef unsigned int GenerationNumber;
@ -28,7 +30,7 @@ std::pair<Generations, std::optional<GenerationNumber>> findGenerations(Path pro
class LocalFSStore;
Path createGeneration(ref<LocalFSStore> store, Path profile, Path outPath);
Path createGeneration(ref<LocalFSStore> store, Path profile, StorePath outPath);
void deleteGeneration(const Path & profile, GenerationNumber gen);