#include "zypp/base/Function.h"
#include "zypp/base/InputStream.h"
#include "zypp/Pathname.h"
+#include "zypp/Date.h"
namespace zypp
{
* First parameter is a \ref RepoInfo object with the resource
* FIXME return value is ignored
*/
- typedef function< bool(
- const RepoInfo & )>
- ProcessResource;
+ typedef function< bool( const RepoInfo & )> ProcessResource;
/**
* CTOR. Creates also \ref xml::Reader and starts reading.
*/
~RepoindexFileReader();
+ /** Metadata TTL (repoindex.xml:xpath:/repoindex@ttl or 0). */
+ Date::Duration ttl() const;
+
private:
class Impl;
RW_pointer<Impl,rw_pointer::Scoped<Impl> > _pimpl;