Hello list, is there any way to retrieve the last modification time from a Xapian::Database object? TIA Ralf Mattes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20050810/8788471c/attachment.sig>
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. Cheers, Olly