store: rename "metadata" into "properties"

properties are the constant (for the duration) values for a store; metadata may
change, so reserve that name for that.
This commit is contained in:
Dirk-Jan C. Binnema
2022-02-13 14:52:41 +02:00
parent 23fc8bdba8
commit 3820118246
9 changed files with 67 additions and 68 deletions

View File

@ -86,7 +86,10 @@ public:
*/
~Store();
struct Metadata {
/**
* Store properties
*/
struct Properties {
std::string database_path; /**< Full path to the Xapian database */
std::string schema_version; /**< Database schema version */
std::time_t created; /**< database creation time */
@ -102,11 +105,11 @@ public:
};
/**
* Get metadata about this store.
* Get properties about this store.
*
* @return the metadata
*/
const Metadata& metadata() const;
const Properties& properties() const;
/**
* Get the Contacts object for this store
*