[Xapian-devel] Database modification time

Olly Betts olly at survex.com
Tue Aug 16 18:42:08 BST 2005

On Wed, Aug 10, 2005 at 03:26:00PM +0200, R. Mattes wrote:
> is there any way to retrieve the last modification time from
> a Xapian::Database object?

Not via the API.  For disk based databases, it's the latest modification
time of any "base" file in the database directory.  That's true for
quartz and flint (though it may change for flint).

Would an API method be useful (and if so, what for)?  It probably
wouldn't be too hard to return a time_t for the last modification time.


More information about the Xapian-devel mailing list