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:
@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user