about summary refs log tree commit diff
path: root/src/libstore/profiles.hh (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-03-01 this updates issues that were addressed by people in prMatthew O'Gorman1-1/+1
2018-03-01 Implement --delete-generations + flag for keeping last N number of generationsMatthew O'Gorman1-0/+2
2016-06-02 Allow setting the state directory as a store parameterEelco Dolstra1-2/+2
E.g. "local?store=/tmp/store&state=/tmp/var".
2016-02-04 StoreAPI -> StoreEelco Dolstra1-2/+2
Calling a class an API is a bit redundant...
2016-02-04 Eliminate the "store" global variableEelco Dolstra1-1/+3
Also, move a few free-standing functions into StoreAPI and Derivation. Also, introduce a non-nullable smart pointer, ref<T>, which is just a wrapper around std::shared_ptr ensuring that the pointer is never null. (For reference-counted values, this is better than passing a "T&", because the latter doesn't maintain the refcount. Usually, the caller will have a shared_ptr keeping the value alive, but that's not always the case, e.g., when passing a reference to a std::thread via std::bind.)
2015-05-21 nix-collect-garbage: Don't call nix-envEelco Dolstra1-1/+9
Also, make sure --delete-older-than doesn't delete the current generation.
2015-05-21 Move profiles.{cc,hh} to libstoreEelco Dolstra1-0/+55