SuseTagsImpl::SuseTagsImpl()
{}
+ const Pathname SuseTagsImpl::contentFile() const
+ {
+ return _cache_dir + "DATA/content";
+ }
+
+ const Pathname SuseTagsImpl::contentFileSignature() const
+ {
+ return _cache_dir + "DATA/content.asc";
+ }
+
+ const Pathname SuseTagsImpl::contentFileKey() const
+ {
+ return _cache_dir + "DATA/content.key";
+ }
+
+ const Pathname SuseTagsImpl::mediaFile() const
+ {
+ return _cache_dir + "MEDIA/media.1/media";
+ }
+
void SuseTagsImpl::initCacheDir(const Pathname & cache_dir_r)
{
// refuse to use stupid paths as cache dir
#include "zypp/CheckSum.h"
#include "zypp/source/susetags/SuseTagsProductImpl.h"
#include "zypp/source/susetags/SuseTagsPackageImpl.h"
+#include "zypp/TmpPath.h"
+
+using namespace zypp::filesystem;
///////////////////////////////////////////////////////////////////
namespace zypp
* \throw EXCEPTION on fail
*/
virtual void factoryInit();
-
+
+ const Pathname contentFile() const;
+ const Pathname contentFileKey() const;
+ const Pathname contentFileSignature() const;
+ const Pathname mediaFile() const;
+
void readContentFile();
void provideProducts(Source_Ref source_r, ResStore& store);