Add read-only setting to LocalStoreConfig.

This commit is contained in:
Ben Radford 2023-05-16 13:14:58 +01:00
parent 5fd161189d
commit de359da09a
No known key found for this signature in database
GPG key ID: 9DF5D4640AB888D5

View file

@ -46,6 +46,11 @@ struct LocalStoreConfig : virtual LocalFSStoreConfig
"require-sigs", "require-sigs",
"Whether store paths copied into this store should have a trusted signature."}; "Whether store paths copied into this store should have a trusted signature."};
Setting<bool> readOnly{(StoreConfig*) this,
false,
"read-only",
"TODO"};
const std::string name() override { return "Local Store"; } const std::string name() override { return "Local Store"; }
std::string doc() override; std::string doc() override;