mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
2aa9cf34dd
It is a property of the configuration of a store --- how a store URL is parsed into a store config, not a store itself. Progress towards #10766
23 lines
493 B
C++
23 lines
493 B
C++
#include "binary-cache-store.hh"
|
|
|
|
namespace nix {
|
|
|
|
struct LocalBinaryCacheStoreConfig : virtual BinaryCacheStoreConfig
|
|
{
|
|
using BinaryCacheStoreConfig::BinaryCacheStoreConfig;
|
|
|
|
LocalBinaryCacheStoreConfig(std::string_view scheme, PathView binaryCacheDir, const Params & params);
|
|
|
|
Path binaryCacheDir;
|
|
|
|
const std::string name() override
|
|
{
|
|
return "Local Binary Cache Store";
|
|
}
|
|
|
|
static std::set<std::string> uriSchemes();
|
|
|
|
std::string doc() override;
|
|
};
|
|
|
|
}
|