31 static Locks& instance();
53 void addLock(
const IdString& ident_r );
65 void addLock(
const ResKind& kind_r,
const C_Str& name_r );
73 void removeLock(
const PoolQuery& query );
81 void removeLock(
const IdString& ident_r );
90 void removeLock(
const ResKind& kind_r,
const C_Str & name_r );
129 bool existEmpty()
const;
143 void removeDuplicates();
LockList::size_type size_type
static ZConfig & instance()
Singleton ctor.
std::list< PoolQuery > LockList
Access to the sat-pools string space.
RW_pointer< Impl, rw_pointer::Scoped< Impl > > _pimpl
Singleton class which manipulate with locks file and apply locks on pool.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Convenience char* constructible from std::string and char*, it maps (char*)0 to an empty string...
Wrapper for const correct access via Smart pointer types.
LockList::const_iterator const_iterator
std::map< std::string, std::string > read(const Pathname &_path)
Read sysconfig file path_r and return (key,valye) pairs.
Easy-to use interface to the ZYPP dependency resolver.