12#ifndef ZYPP_SRCPACKAGE_H
13#define ZYPP_SRCPACKAGE_H
35 using Ptr = TraitsType::PtrType;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Base for resolvable objects.
TraitsType::constPtrType constPtr
~SrcPackage() override
Dtor.
Pathname cachedLocation() const
Location of the downloaded package in cache or an empty path.
std::string sourcePkgType() const
The type of the source rpm ("src" or "nosrc").
SrcPackage(const sat::Solvable &solvable_r)
Ctor.
OnMediaLocation location() const
location of resolvable in repo
bool isCached() const
Whether the package is cached.
bool empty() const
Test for an empty path.
A Solvable object within the sat Pool.
Easy-to use interface to the ZYPP dependency resolver.
#define DEFINE_PTR_TYPE(NAME)
Forward declaration of Ptr types.