+
     _if c                   sJ   ^ RI Ht ]! ]! 4       P                  R4      RR4      '       g$   ]! 4       P                  R4      '       g   R]9   d   ^RIHt M^ RIt ^ RI	t
R tR	 tR
 tR t ! R R]4      t^ RIt ! R R]4      t]P*                  ! ]4       ^RIHt ^RIHt ^RIHt ^RIHt  ! R R]P4                  4      t]P8                  ! ]4        ! R R]4      t]P<                  ! ]4        ! R R]4      t]P@                  ! ]4        ! R R]4      t!]PD                  ! ]!4        ! R R]4      t#]PH                  ! ]#4        ! R R]4      t%]PL                  ! ]%4        ! R  R!]4      t']PP                  ! ]'4        ! R" R#]4      t)]PT                  ! ])4        ! R$ R%]4      t+]PX                  ! ]+4        ! R& R']4      t-]P\                  ! ]-4        ! R( R)]4      t/]P`                  ! ]/4       R* t1 ! R+ R,]/4      t2]Pf                  ! ]24        ! R- R.]4      t4]Pj                  ! ]44        ! R/ R0]44      t6]Pn                  ! ]64        ! R1 R2]4      t8]Pr                  ! ]84        ! R3 R4]24      t:]Pv                  ! ]:4        ! R5 R6]4      t<]Pz                  ! ]<4        ! R7 R8]<4      t>]P~                  ! ]>4        ! R9 R:]4      t@]P                  ! ]@4       R; tB]B]/nC        AB]P                  ! ]4       ]P                  ! ]%4       R#   ] d	    ^ RI
t
 ELi ; i)<i    )version_infoZ__spec__ZparentNZ__package__.)_repoc                 s     R V P                   P                  4       ,           pRV P                  P
                  : RV P                  P                  : RV: R2#   \        P                   d    Rp LPi ; i)z	proxy of  Z<r   z; z >)this__repr____builtin__Z	Exception	__class__
__module____name__)selfZstrthis   & 3/usr/lib64/python3.14/site-packages/libdnf5/repo.py
_swig_reprr      s_    		 2 2 44 "^^668O8OQXZZ    s   !A A43A4c                    a  V 3R  lpV# )c                 s  < VR 8X  d   S! WV4       R# VR8X  d   V P                   P                  V4       R# \        W4      '       d5   \        \	        \        V 4      V4      \        4      '       d   S! WV4       R# \        RV ,          4      h)r   thisownz(You cannot add instance attributes to %sN)r   ownhasattr
isinstancegetattrtypepropertyAttributeError)r
   namevalueset   &&&r   set_instance_attrZE_swig_setattr_nondynamic_instance_variable.<locals>.set_instance_attr   si    6>E"YIIMM% T  ZT
D0I8%T%TE" !Kd!RSS     )r   r      f r   *_swig_setattr_nondynamic_instance_variabler      s    T r   c                 r   )c                 s   < \        W4      '       d+   \        \        W4      \        4      '       g   S! WV4       R# \	        R V ,          4      h)z%You cannot add class attributes to %sN)r   r   r   r   r   )clsr   r   r   r   r   set_class_attrZ?_swig_setattr_nondynamic_class_variable.<locals>.set_class_attr)   s:    3j1CX&N&N5! !H3!NOOr   r   )r   r!   r   r   '_swig_setattr_nondynamic_class_variabler"   (   s    P
 r   c                s   a  V 3R lpV# )zlClass decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclassc                 sp   < S! V P                   V P                  V P                  P                  4       4      # N)r	   Z	__bases__Z__dict__copy)r    	metaclasss   &r   wrapperZ$_swig_add_metaclass.<locals>.wrapper3   s'    s}}cll6G6G6IJJr   r   )r%   r&   r   r   _swig_add_metaclassr'   1   s    KNr   c                   s>    ] tR t^8tRt]! ]P                  4      tRtR# )_SwigNonDynamicMetazKMeta class to enforce nondynamic attributes (no new attributes) for a classr   N)	r	   r   __qualname____firstlineno____doc__r"   r   Z__setattr____static_attributes__r   r   r   r(   r(   8   s    U9$:J:JKKr   r(   c                   s   a  ] tR t^?t o ]! R R RR7      tR t]t]	P                  tR tRR ltRR ltR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tRtV tR# )SwigPyIteratorc                6    V P                   P                  4       # r#   r   r   x   &r   <lambda>SwigPyIterator.<lambda>@       r   c                8    V P                   P                  V4      # r#   r/   r1   Zv   &&r   r3   r4   @       AFFJJqMr   The membership flagZdocc                    \        R 4      h)z*No constructor defined - class is abstractr   r
   argsZkwargs   &*,r   __init__ZSwigPyIterator.__init__B   s    IJJr   c                .    \         P                  ! V 4      # r#   )r   ZSwigPyIterator_valuer
   r2   r   r   ZSwigPyIterator.valueG       ))$//r   c                .    \         P                  ! W4      # r#   )r   ZSwigPyIterator_incrr
   Znr8   r   incrZSwigPyIterator.incrJ       ((11r   c                rE   r#   )r   ZSwigPyIterator_decrrF   r8   r   decrZSwigPyIterator.decrM   rH   r   c                rE   r#   )r   ZSwigPyIterator_distancer
   r1   r8   r   distanceZSwigPyIterator.distanceP       ,,T55r   c                rE   r#   )r   ZSwigPyIterator_equalrJ   r8   r   equalZSwigPyIterator.equalS   s    ))$22r   c                rB   r#   )r   ZSwigPyIterator_copyrC   r2   r   r$   ZSwigPyIterator.copyV       ((..r   c                rB   r#   )r   ZSwigPyIterator_nextrC   r2   r   nextZSwigPyIterator.nextY   rN   r   c                rB   r#   )r   ZSwigPyIterator___next__rC   r2   r   __next__ZSwigPyIterator.__next__\       ,,T22r   c                rB   r#   )r   ZSwigPyIterator_previousrC   r2   r   previousZSwigPyIterator.previous_   rQ   r   c                rE   r#   )r   ZSwigPyIterator_advancerF   r8   r   advanceZSwigPyIterator.advanceb       ++D44r   c                rE   r#   )r   ZSwigPyIterator___eq__rJ   r8   r   __eq__ZSwigPyIterator.__eq__e       **433r   c                rE   r#   )r   ZSwigPyIterator___ne__rJ   r8   r   __ne__ZSwigPyIterator.__ne__h   rV   r   c                rE   r#   )r   ZSwigPyIterator___iadd__rF   r8   r   __iadd__ZSwigPyIterator.__iadd__k   rL   r   c                rE   r#   )r   ZSwigPyIterator___isub__rF   r8   r   __isub__ZSwigPyIterator.__isub__n   rL   r   c                rE   r#   )r   ZSwigPyIterator___add__rF   r8   r   __add__ZSwigPyIterator.__add__q   rT   r   c                2    \         P                  ! V .VO5!  # r#   )r   ZSwigPyIterator___sub__r
   r?      &*r   __sub__ZSwigPyIterator.__sub__t   s    ++D8488r   c                s    V # r#   r   rC   r2   r   __iter__ZSwigPyIterator.__iter__v   s    r   r   N)i   )r	   r   r)   r*   r   r   rA   r   r   r   Zdelete_SwigPyIterator__swig_destroy__r   rG   rI   rK   rM   r$   rO   rP   rR   rS   rU   rW   rX   rY   rZ   r^   r_   r,   __classdictcell__Z__classdict__   @r   r-   r-   ?   s     -/IOdeGKH2202263//335446659 r   r-   )common)	exception)conf)loggerc                   s  a  ] tR t^t o Rt]! R R RR7      t]t]	P                  tR tR tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R t!R t"R t#R t$R t%R  t&R! t'R" t(R# t)R$ t*R% t+R& t,R' t-R( t.R) t/R* t0R+ t1R, t2R- t3R. t4R/ t5R0 t6R1 t7R2 t8R3 t9R4 t:R5 t;R6 t<R7 t=R8 t>R9 t?R: t@R; tAR< tBR= tCR> tDR?tEV tFR@# )A
ConfigRepoz_Holds repo configuration options. Default values of some options are inherited from ConfigMain.c                r.   r#   r/   r0   r2   r   r3   ConfigRepo.<lambda>   r5   r   c                r6   r#   r/   r7   r8   r   r3   ri      r9   r   r:   r;   c                X    \         P                  ! V \         P                  ! V!  4       R # r#   )r   ZConfigRepo_swiginitZnew_ConfigRepor\   r]   r   rA   ZConfigRepo.__init__   s    !!$(<(<d(CDr   c                r[   r#   )r   ZConfigRepo_get_main_configr\   r]   r   get_main_configZConfigRepo.get_main_config       //<t<<r   c                rB   r#   )r   ZConfigRepo_get_idrC   r2   r   get_idZConfigRepo.get_id       &&t,,r   c                r[   r#   )r   ZConfigRepo_get_name_optionr\   r]   r   get_name_optionZConfigRepo.get_name_option   rl   r   c                r[   r#   )r   ZConfigRepo_get_enabled_optionr\   r]   r   get_enabled_optionZConfigRepo.get_enabled_option       224?$??r   c                r[   r#   )r   Z"ConfigRepo_get_basecachedir_optionr\   r]   r   get_basecachedir_optionZ"ConfigRepo.get_basecachedir_option       77DtDDr   c                r[   r#   )r   ZConfigRepo_get_baseurl_optionr\   r]   r   get_baseurl_optionZConfigRepo.get_baseurl_option   rq   r   c                r[   r#   )r   Z ConfigRepo_get_mirrorlist_optionr\   r]   r   get_mirrorlist_optionZ ConfigRepo.get_mirrorlist_option       55dBTBBr   c                r[   r#   )r   ZConfigRepo_get_metalink_optionr\   r]   r   get_metalink_optionZConfigRepo.get_metalink_option       33D@4@@r   c                r[   r#   )r   ZConfigRepo_get_type_optionr\   r]   r   get_type_optionZConfigRepo.get_type_option   rl   r   c                r[   r#   )r   ZConfigRepo_get_mediaid_optionr\   r]   r   get_mediaid_optionZConfigRepo.get_mediaid_option   rq   r   c                r[   r#   )r   ZConfigRepo_get_gpgkey_optionr\   r]   r   get_gpgkey_optionZConfigRepo.get_gpgkey_option   s    11$>>>r   c                r[   r#   )r   Z!ConfigRepo_get_excludepkgs_optionr\   r]   r   get_excludepkgs_optionZ!ConfigRepo.get_excludepkgs_option       66tCdCCr   c                r[   r#   )r   Z!ConfigRepo_get_includepkgs_optionr\   r]   r   get_includepkgs_optionZ!ConfigRepo.get_includepkgs_option   r}   r   c                r[   r#   )r   Z#ConfigRepo_get_fastestmirror_optionr\   r]   r   get_fastestmirror_optionZ#ConfigRepo.get_fastestmirror_option       88EEEr   c                r[   r#   )r   ZConfigRepo_get_proxy_optionr\   r]   r   get_proxy_optionZConfigRepo.get_proxy_option       00===r   c                r[   r#   )r   Z$ConfigRepo_get_proxy_username_optionr\   r]   r   get_proxy_username_optionZ$ConfigRepo.get_proxy_username_option       99$FFFr   c                r[   r#   )r   Z$ConfigRepo_get_proxy_password_optionr\   r]   r   get_proxy_password_optionZ$ConfigRepo.get_proxy_password_option   r   r   c                r[   r#   )r   Z'ConfigRepo_get_proxy_auth_method_optionr\   r]   r   get_proxy_auth_method_optionZ'ConfigRepo.get_proxy_auth_method_option   s    <<TIDIIr   c                r[   r#   )r   ZConfigRepo_get_username_optionr\   r]   r   get_username_optionZConfigRepo.get_username_option   rx   r   c                r[   r#   )r   ZConfigRepo_get_password_optionr\   r]   r   get_password_optionZConfigRepo.get_password_option   rx   r   c                r[   r#   )r   Z(ConfigRepo_get_protected_packages_optionr\   r]   r   get_protected_packages_optionZ(ConfigRepo.get_protected_packages_option       ==dJTJJr   c                r[   )z{
*Overload 1:*
Deprecated: Use get_pkg_gpgcheck_option()

|

*Overload 2:*
Deprecated: Use get_pkg_gpgcheck_option() const
)r   ZConfigRepo_get_gpgcheck_optionr\   r]   r   get_gpgcheck_optionZConfigRepo.get_gpgcheck_option        33D@4@@r   c                r[   r#   )r   Z"ConfigRepo_get_pkg_gpgcheck_optionr\   r]   r   get_pkg_gpgcheck_optionZ"ConfigRepo.get_pkg_gpgcheck_option   rs   r   c                r[   r#   )r   Z#ConfigRepo_get_repo_gpgcheck_optionr\   r]   r   get_repo_gpgcheck_optionZ#ConfigRepo.get_repo_gpgcheck_option   r   r   c                r[   r#   )r   Z"ConfigRepo_get_enablegroups_optionr\   r]   r   get_enablegroups_optionZ"ConfigRepo.get_enablegroups_option   rs   r   c                r[   zi
*Overload 1:*
Deprecated: The option does nothing

|

*Overload 2:*
Deprecated: The option does nothing
)r   ZConfigRepo_get_retries_optionr\   r]   r   get_retries_optionZConfigRepo.get_retries_option   s     224?$??r   c                r[   r#   )r   ZConfigRepo_get_bandwidth_optionr\   r]   r   get_bandwidth_optionZConfigRepo.get_bandwidth_option       44TADAAr   c                r[   r#   )r   ZConfigRepo_get_minrate_optionr\   r]   r   get_minrate_optionZConfigRepo.get_minrate_option   rq   r   c                r[   r#   )r   Z ConfigRepo_get_ip_resolve_optionr\   r]   r   get_ip_resolve_optionZ ConfigRepo.get_ip_resolve_option   rv   r   c                r[   r#   )r   ZConfigRepo_get_throttle_optionr\   r]   r   get_throttle_optionZConfigRepo.get_throttle_option   rx   r   c                r[   r#   )r   ZConfigRepo_get_timeout_optionr\   r]   r   get_timeout_optionZConfigRepo.get_timeout_option   rq   r   c                r[   r#   )r   Z,ConfigRepo_get_max_parallel_downloads_optionr\   r]   r   !get_max_parallel_downloads_optionZ,ConfigRepo.get_max_parallel_downloads_option   s    AA$NNNr   c                r[   r#   )r   Z%ConfigRepo_get_metadata_expire_optionr\   r]   r   get_metadata_expire_optionZ%ConfigRepo.get_metadata_expire_option       ::4G$GGr   c                r[   r#   )r   ZConfigRepo_get_cost_optionr\   r]   r   get_cost_optionZConfigRepo.get_cost_option   rl   r   c                r[   r#   )r   ZConfigRepo_get_priority_optionr\   r]   r   get_priority_optionZConfigRepo.get_priority_option  rx   r   c                r[   r#   )r   Z%ConfigRepo_get_module_hotfixes_optionr\   r]   r   get_module_hotfixes_optionZ%ConfigRepo.get_module_hotfixes_option  r   r   c                r[   r#   )r   ZConfigRepo_get_sslcacert_optionr\   r]   r   get_sslcacert_optionZConfigRepo.get_sslcacert_option  r   r   c                r[   r#   )r   ZConfigRepo_get_sslverify_optionr\   r]   r   get_sslverify_optionZConfigRepo.get_sslverify_option
  r   r   c                r[   r#   )r   Z#ConfigRepo_get_sslclientcert_optionr\   r]   r   get_sslclientcert_optionZ#ConfigRepo.get_sslclientcert_option  r   r   c                r[   r#   )r   Z"ConfigRepo_get_sslclientkey_optionr\   r]   r   get_sslclientkey_optionZ"ConfigRepo.get_sslclientkey_option  rs   r   c                r[   r#   )r   Z%ConfigRepo_get_proxy_sslcacert_optionr\   r]   r   get_proxy_sslcacert_optionZ%ConfigRepo.get_proxy_sslcacert_option  r   r   c                r[   r#   )r   Z%ConfigRepo_get_proxy_sslverify_optionr\   r]   r   get_proxy_sslverify_optionZ%ConfigRepo.get_proxy_sslverify_option  r   r   c                r[   r#   )r   Z)ConfigRepo_get_proxy_sslclientcert_optionr\   r]   r   get_proxy_sslclientcert_optionZ)ConfigRepo.get_proxy_sslclientcert_option      >>tKdKKr   c                r[   r#   )r   Z(ConfigRepo_get_proxy_sslclientkey_optionr\   r]   r   get_proxy_sslclientkey_optionZ(ConfigRepo.get_proxy_sslclientkey_option  r   r   c                r[   r   )r   ZConfigRepo_get_deltarpm_optionr\   r]   r   get_deltarpm_optionZConfigRepo.get_deltarpm_option  r   r   c                r[   r   )r   Z)ConfigRepo_get_deltarpm_percentage_optionr\   r]   r   get_deltarpm_percentage_optionZ)ConfigRepo.get_deltarpm_percentage_option+  s     >>tKdKKr   c                r[   r#   )r   Z)ConfigRepo_get_skip_if_unavailable_optionr\   r]   r   get_skip_if_unavailable_optionZ)ConfigRepo.get_skip_if_unavailable_option7  r   r   c                r[   )zPIf true it will create libsolv cache that will speed up the next loading process)r   Z!ConfigRepo_get_build_cache_optionr\   r]   r   get_build_cache_optionZ!ConfigRepo.get_build_cache_option:  s    66tCdCCr   c                r[   r#   )r   Z&ConfigRepo_get_enabled_metadata_optionr\   r]   r   get_enabled_metadata_optionZ&ConfigRepo.get_enabled_metadata_option>  s    ;;DH4HHr   c                r[   r#   )r   Z ConfigRepo_get_user_agent_optionr\   r]   r   get_user_agent_optionZ ConfigRepo.get_user_agent_optionA  rv   r   c                r[   r#   )r   ZConfigRepo_get_countme_optionr\   r]   r   get_countme_optionZConfigRepo.get_countme_optionD  rq   r   c                r[   r#   )r   Z$ConfigRepo_get_failovermethod_optionr\   r]   r   get_failovermethod_optionZ$ConfigRepo.get_failovermethod_optionG  r   r   c                rB   )z
:rtype: string
:return: A unique ID of the repository, consisting of its id and a hash
    computed from its source URLs (metalink, mirrorlist or baseurl, first
    one set is used in the order listed).
)r   ZConfigRepo_get_unique_idrC   r2   r   get_unique_idZConfigRepo.get_unique_idJ  s     --d33r   c                rB   )z
:rtype: string
:return: The path to the repository's cache directory, where its
    cached metadata are stored. The path contains unique ID generated by get_unique_id()
)r   ZConfigRepo_get_cachedirrC   r2   r   get_cachedirZConfigRepo.get_cachedirS  s     ,,T22r   c                rB   )zv
:rtype: string
:return: The path to the repository's persistent directory, where its
    persistent data are stored.
)r   ZConfigRepo_get_persistdirrC   r2   r   get_persistdirZConfigRepo.get_persistdir[  s     ..t44r   c                r[   r#   )r   ZConfigRepo_load_from_parserr\   r]   r   load_from_parserZConfigRepo.load_from_parserc  r   r   r   N)Gr	   r   r)   r*   r+   r   r   r   r   r   Zdelete_ConfigRepor`   rA   rk   rm   ro   rp   rr   rt   ru   rw   ry   rz   r{   r|   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r,   ra   rb   rc   r   rh   rh      sz    j-/IOdeGH..E=-=@E@CA=@?DDF>GGJAAK
AEFE
@B@CA@OH=AHBBFEHHLK
A
LLDIC@G435> >r   rh   c                   s  a  ] tR tRt o Rt]! R R RR7      t]t]	P                  t ]	P                  t ]	P                  t ]	P                   t ]	P$                  t ]	P(                  t ]	P,                  t]	P0                  t]	P4                  t]	P8                  t]	P<                  t]	P@                  t!R t"]	PF                  t$R t%R	 t&R
 t'R t(R t)R t*Rt+V t,R# )DownloadCallbacksih  zw
Base class for download callbacks.
To implement a callback, inherit from this class and override the virtual methods.
c                r.   r#   r/   r0   r2   r   r3   DownloadCallbacks.<lambda>n  r5   r   c                r6   r#   r/   r7   r8   r   r3   r   n  r9   r   r:   r;   c                    V P                   \        8X  d   R pMT p\        P                  ! V \        P                  ! V4      4       R # r#   )r   r   r   ZDownloadCallbacks_swiginitZnew_DownloadCallbacksr
   Z_selfr   r   rA   ZDownloadCallbacks.__init__  s4    >>..EE((u/J/J5/STr   c                0    \         P                  ! WW#4      # a  
Notify the client that a new download has been created.
:type user_data: void
:param user_data: User data entered together with url/package to download.
:type description: string
:param description: The message describing new download (url/packagename).
:type total_to_download: float
:param total_to_download: Total number of bytes to download.
:rtype: void
:return: Associated user data for new download.
)r   Z"DownloadCallbacks_add_new_downloadr
   	user_dataZdescriptiontotal_to_download   &&&&r   add_new_downloadZ"DownloadCallbacks.add_new_download  s     77hhr   c                r   a  
Download progress callback.
:type user_cb_data: void
:param user_cb_data: Associated user data obtained from add_new_download.
:type total_to_download: float
:param total_to_download: Total number of bytes to download.
:type downloaded: float
:param downloaded: Number of bytes downloaded.
:rtype: int
:return: TODO(lukash) uses the LrCbReturnCode enum from librepo, we should translate that.
)r   ZDownloadCallbacks_progressr
   user_cb_datar   Z
downloadedr   r   progressZDownloadCallbacks.progress  s     //DUbbr   c                r   a]  
End of download callback.
:type user_cb_data: void
:param user_cb_data: Associated user data obtained from add_new_download.
:type status: int
:param status: The transfer status.
:type msg: string
:param msg: The error message in case of error.
:rtype: int
:return: TODO(lukash) uses the LrCbReturnCode enum from librepo, we should translate that.
)r   ZDownloadCallbacks_endr
   r   Zstatusmsgr   r   endZDownloadCallbacks.end  s     **4vKKr   c                2    \         P                  ! WW#V4      # a  
Mirror failure callback.
:type user_cb_data: void
:param user_cb_data: Associated user data obtained from add_new_download.
:type msg: string
:param msg: Error message.
:type url: string
:param url: Failed mirror URL.
:type metadata: string
:param metadata: the type of metadata that is being downloaded TODO(lukash) should this point to LoadFlags in some way?
:rtype: int
:return: TODO(lukash) uses the LrCbReturnCode enum from librepo, we should translate that.
)r   Z DownloadCallbacks_mirror_failurer
   r   r   ZurlZmetadata   &&&&&r   mirror_failureZ DownloadCallbacks.mirror_failure  s     55d#T\]]r   c                r   a^  
Callback for fastest mirror detection.
:type user_cb_data: void
:param user_cb_data: Associated user data obtained from new_download.
:type stage: int
:param stage: the stage of the fastest mirror detection, refer to `FastestMirrorStage`
:type ptr: string
:param ptr: pointer to additional data depending on the stage, refer to `FastestMirrorStage`
)r   Z DownloadCallbacks_fastest_mirrorr
   r   ZstageZptrr   r   fastest_mirrorZ DownloadCallbacks.fastest_mirror  s     55d%UUr   c                    V P                   P                  4        \        P                  ! V 4       \        P
                  ! V 4      # r#   )r   disownr   Zdisown_DownloadCallbacksweakrefproxyrC   r2   r   
__disown__ZDownloadCallbacks.__disown__  s/    		&&t,}}T""r   r   N)-r	   r   r)   r*   r+   r   r   r   r   r   Z)DownloadCallbacks_FastestMirrorStage_INITZFastestMirrorStage_INITZ1DownloadCallbacks_FastestMirrorStage_CACHELOADINGZFastestMirrorStage_CACHELOADINGZ7DownloadCallbacks_FastestMirrorStage_CACHELOADINGSTATUSZ%FastestMirrorStage_CACHELOADINGSTATUSZ.DownloadCallbacks_FastestMirrorStage_DETECTIONZFastestMirrorStage_DETECTIONZ.DownloadCallbacks_FastestMirrorStage_FINISHINGZFastestMirrorStage_FINISHINGZ+DownloadCallbacks_FastestMirrorStage_STATUSZFastestMirrorStage_STATUSZ+DownloadCallbacks_TransferStatus_SUCCESSFULZTransferStatus_SUCCESSFULZ.DownloadCallbacks_TransferStatus_ALREADYEXISTSZTransferStatus_ALREADYEXISTSZ&DownloadCallbacks_TransferStatus_ERRORZTransferStatus_ERRORZDownloadCallbacks_OKZOKZDownloadCallbacks_ABORTZABORTZDownloadCallbacks_ERRORZERRORrA   Zdelete_DownloadCallbacksr`   r   r   r   r   r   r   r,   ra   rb   rc   r   r   r   h  s    
 -/IOdeGH#MM>&+&]&]# -2,i,i)
 $)#W#W 
 $)#W#W  !& Q Q !& Q Q#(#W#W  GG		#	#B))E))EU 55icL^ 
V# #r   r   c                   s   a  ] tR tRt o ]! R R RR7      t]tR tR t	R t
RR
 ltR tR tR t]t]P"                  tR tR tR tR tR tRtV tR	# )DownloadCallbacksUniquePtri  c                r.   r#   r/   r0   r2   r   r3   #DownloadCallbacksUniquePtr.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r     r9   r   r:   r;   c                rj   r#   )r   Z#DownloadCallbacksUniquePtr_swiginitZnew_DownloadCallbacksUniquePtrr\   r]   r   rA   Z#DownloadCallbacksUniquePtr.__init__  s    11$8\8\^b8cdr   c                rB   r#   )r   Z$DownloadCallbacksUniquePtr___deref__rC   r2   r   	__deref__Z$DownloadCallbacksUniquePtr.__deref__      99$??r   c                rB   r#   )r   Z"DownloadCallbacksUniquePtr_releaserC   r2   r   releaseZ"DownloadCallbacksUniquePtr.release      77==r   Nc                rE   r#   )r   Z DownloadCallbacksUniquePtr_reset)r
   Z_DownloadCallbacksUniquePtr__pr8   r   resetZ DownloadCallbacksUniquePtr.reset  s    55d@@r   c                rE   r#   )r   ZDownloadCallbacksUniquePtr_swap)r
   Z_DownloadCallbacksUniquePtr__ur8   r   swapZDownloadCallbacksUniquePtr.swap  s    44T??r   c                rB   r#   )r   ZDownloadCallbacksUniquePtr_getrC   r2   r   getZDownloadCallbacksUniquePtr.get      33D99r   c                rB   r#   )r   Z&DownloadCallbacksUniquePtr___nonzero__rC   r2   r   __nonzero__Z&DownloadCallbacksUniquePtr.__nonzero__   s    ;;DAAr   c                r   r   )r   Z+DownloadCallbacksUniquePtr_add_new_downloadr   r   r   r   Z+DownloadCallbacksUniquePtr.add_new_download  s     @@R]qqr   c                r   r   )r   Z#DownloadCallbacksUniquePtr_progressr   r   r   r   Z#DownloadCallbacksUniquePtr.progress  s     88M^kkr   c                r   r   )r   ZDownloadCallbacksUniquePtr_endr   r   r   r   ZDownloadCallbacksUniquePtr.end#  s     33DTTr   c                r   r   )r   Z)DownloadCallbacksUniquePtr_mirror_failurer   r   r   r   Z)DownloadCallbacksUniquePtr.mirror_failure1  s     >>tSV]effr   c                r   r   )r   Z)DownloadCallbacksUniquePtr_fastest_mirrorr   r   r   r   Z)DownloadCallbacksUniquePtr.fastest_mirrorA  s     >>tSX^^r   r   r#   )r	   r   r)   r*   r   r   r   r   rA   r   r   r   r   r   r   __bool__r   Z!delete_DownloadCallbacksUniquePtrr`   r   r   r   r   r   r,   ra   rb   rc   r   r   r     sz     -/IOdeGHe@>A@:BH >>rlUg 
_ 
_r   r   c                   st   a  ] tR tRt o ]! R R RR7      t]tR t]	P                  tR tR tR	 tR
 tRtV tR# )FileDownloaderiO  c                r.   r#   r/   r0   r2   r   r3   FileDownloader.<lambda>P  r5   r   c                r6   r#   r/   r7   r8   r   r3   r   P  r9   r   r:   r;   c                rj   r#   )r   ZFileDownloader_swiginitZnew_FileDownloaderr\   r]   r   rA   ZFileDownloader.__init__S  s    %%dE,D,Dd,KLr   c                rB   )z+Download the previously added files (URLs).)r   ZFileDownloader_downloadrC   r2   r   downloadZFileDownloader.downloadW      ,,T22r   c                rE   z
Configure whether to fail the whole download on a first error or keep downloading.
:type value: boolean
:param value: If true, download will fail on the first error, otherwise it continues.
    This is set to true by default.
)r   ZFileDownloader_set_fail_fastr
   r   r8   r   set_fail_fastZFileDownloader.set_fail_fast[       11$>>r   c                rE   z
Configure whether to try resuming the download if a destination package already exists.
:type value: boolean
:param value: If true, download is tried to be resumed, otherwise it starts over.
    This is set to true by default.
)r   ZFileDownloader_set_resumer   r8   r   
set_resumeZFileDownloader.set_resumed  s     ..t;;r   c                r[   r#   )r   ZFileDownloader_addr\   r]   r   addZFileDownloader.addm      ''4t44r   r   N)r	   r   r)   r*   r   r   r   r   rA   r   Zdelete_FileDownloaderr`   r   r   r   r   r,   ra   rb   rc   r   r   r   O  sF     -/IOdeGHM223?<5 5r   r   c                   sz   a  ] tR tRt o ]! R R RR7      t]tR t]	P                  tR tR tR	 tR
 tR tRtV tR# )PackageDownloaderir  c                r.   r#   r/   r0   r2   r   r3   PackageDownloader.<lambda>s  r5   r   c                r6   r#   r/   r7   r8   r   r3   r   s  r9   r   r:   r;   c                rj   r#   )r   ZPackageDownloader_swiginitZnew_PackageDownloaderr\   r]   r   rA   ZPackageDownloader.__init__v  s    ((u/J/JD/QRr   c                rB   )z'Download the previously added packages.)r   ZPackageDownloader_downloadrC   r2   r   r   ZPackageDownloader.downloadz      //55r   c                rE   r   )r   ZPackageDownloader_set_fail_fastr   r8   r   r   ZPackageDownloader.set_fail_fast~  s     44TAAr   c                rE   r   )r   ZPackageDownloader_set_resumer   r8   r   r   ZPackageDownloader.set_resume  r   r   c                rE   )a  
Explicitly setup the behavior related to packages caching.
By default, the `keepcache` configuration option is used to determine whether to keep
downloaded packages even after following successful transaction.

:type value: boolean
:param value: If true, packages will be kept on the disk after downloading
    regardless the `keepcache` option value, if false, it enforces packages removal after
    the next successful transaction.
)r   Z%PackageDownloader_force_keep_packagesr   r8   r   force_keep_packagesZ%PackageDownloader.force_keep_packages  s     ::4GGr   c                r[   r#   )r   ZPackageDownloader_addr\   r]   r   r   ZPackageDownloader.add  s    **47$77r   r   N)r	   r   r)   r*   r   r   r   r   rA   r   Zdelete_PackageDownloaderr`   r   r   r   r   r   r,   ra   rb   rc   r   r   r   r  sM     -/IOdeGHS556B?H8 8r   r   c                   sz   a  ] tR tRt o ]! R R RR7      t]t]P                  t
R tR tR tR	 tR
 tR tRtV tR# )RepoCacheRemoveStatisticsi  c                r.   r#   r/   r0   r2   r   r3   "RepoCacheRemoveStatistics.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r     r9   r   r:   r;   c                rj   r#   )r   Z"RepoCacheRemoveStatistics_swiginitZnew_RepoCacheRemoveStatisticsr\   r]   r   rA   Z"RepoCacheRemoveStatistics.__init__  s    00u7Z7Z\`7abr   c                rB   r#   )r   Z+RepoCacheRemoveStatistics_get_files_removedrC   r2   r   get_files_removedZ+RepoCacheRemoveStatistics.get_files_removed      @@FFr   c                rB   r#   )r   Z*RepoCacheRemoveStatistics_get_dirs_removedrC   r2   r   get_dirs_removedZ*RepoCacheRemoveStatistics.get_dirs_removed  s    ??EEr   c                rB   r#   )r   Z+RepoCacheRemoveStatistics_get_bytes_removedrC   r2   r   get_bytes_removedZ+RepoCacheRemoveStatistics.get_bytes_removed  r   r   c                rB   r#   )r   Z$RepoCacheRemoveStatistics_get_errorsrC   r2   r   
get_errorsZ$RepoCacheRemoveStatistics.get_errors  r   r   c                rE   r#   )r   Z"RepoCacheRemoveStatistics___iadd__)r
   Zrhsr8   r   rX   Z"RepoCacheRemoveStatistics.__iadd__  s    77BBr   r   N)r	   r   r)   r*   r   r   r   r   r   Z delete_RepoCacheRemoveStatisticsr`   rA   r   r   r   r   rX   r,   ra   rb   rc   r   r   r     sQ     -/IOdeGH==cGFG@C Cr   r   c                   s   a  ] tR tRt o Rt]! R R RR7      t]t]	P                  t ]	P                  tR tR tR	 tR
 tR tR tR tR tR tR tRtV tR# )	RepoCachei  z"Repository cache management class.c                r.   r#   r/   r0   r2   r   r3   RepoCache.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r     r9   r   r:   r;   c                X    \         P                  ! V \         P                  ! V!  4       R# )a  
*Overload 1:*
Construct a new repository cache management instance.

:type base: libdnf5::BaseWeakPtr
:param base:            WeakPtr on the Base instance.
:type repo_cache_dir: std::filesystem::path
:param repo_cache_dir:  Path to repository cache directory.

|

*Overload 2:*
Construct a new repository cache management instance.

:type base: libdnf5::Base
:param base:            Base instance reference.
:type repo_cache_dir: string
:param repo_cache_dir:  Path to repository cache directory.
N)r   ZRepoCache_swiginitZnew_RepoCacher\   r]   r   rA   ZRepoCache.__init__  s    ( 	  u':':D'ABr   c                rB   )z
Removes metadata from the cache.

:rtype: :py:class:`RemoveStatistics`
:return: Number of deleted files and directories. Number of errors.
)r   ZRepoCache_remove_metadatarC   r2   r   remove_metadataZRepoCache.remove_metadata       ..t44r   c                rB   )z
Removes packages from the cache.

:rtype: :py:class:`RemoveStatistics`
:return: Number of deleted files and directories. Number of errors.
)r   ZRepoCache_remove_packagesrC   r2   r   remove_packagesZRepoCache.remove_packages  r   r   c                rB   )z
Removes solvable files from the cache.

:rtype: :py:class:`RemoveStatistics`
:return: Number of deleted files and directories. Number of errors.
)r   ZRepoCache_remove_solv_filesrC   r2   r   remove_solv_filesZRepoCache.remove_solv_files       0066r   c                rB   )a   
Removes metadata, packages, solvable files, and attributes from the cache.
If the repository cache directory becomes empty, it will also be deleted.

:rtype: :py:class:`RemoveStatistics`
:return: Number of deleted files and directories. Number of errors.
)r   ZRepoCache_remove_allrC   r2   r   
remove_allZRepoCache.remove_all       ))$//r   c                r[   )aK  
Writes `value` to the` name` attribute.
If the attribute does not exist, it is created. If it already existed, its value is overwritten.

:type name: string
:param name:   Attribute name.
:type value: string, optional
:param value:  Attribute value.
:raises: std::runtime_exception  An error occurred while writing the attribute.
)r   ZRepoCache_write_attributer\   r]   r   write_attributeZRepoCache.write_attribute  s     ..t;d;;r   c                rE   )a  
Returns the value of the `name` attribute.

:type name: string
:param name:  Attribute name.
:rtype: string
:return: The value of the `name` attribute.
:raises: std::runtime_exception  The `name` attribute does not exist or an error occurred while reading it.
)r   ZRepoCache_read_attributer
   r   r8   r   read_attributeZRepoCache.read_attribute  s     --d99r   c                rE   )z
Tests if the `name` attribute exists.

:type name: string
:param name:  Attribute name.
:rtype: boolean
:return: If the `name` attribute exists, it returns true otherwise false.
)r   ZRepoCache_is_attributer  r8   r   is_attributeZRepoCache.is_attribute  s     ++D77r   c                rE   )a  
Removes the `name` attribute.

:type name: string
:param name:  Attribute name.
:rtype: boolean
:return: true if the attribute was deleted, false if the attribute did not exist.
:raises: std::runtime_exception An error occurred while removing the attribute.
)r   ZRepoCache_remove_attributer  r8   r   remove_attributeZRepoCache.remove_attribute#  s     //;;r   c                rB   )z
Gets the id of the cached repository.

:rtype: string
:return: id of the cached repository.
:raises: RepoCacheException Throws an exception if the reposiitory id cannot be determined.
)r   ZRepoCache_get_repoidrC   r2   r   
get_repoidZRepoCache.get_repoid/  r   r   r   N)r	   r   r)   r*   r+   r   r   r   r   r   ZRepoCache_ATTRIBUTE_EXPIREDZATTRIBUTE_EXPIREDZdelete_RepoCacher`   rA   r   r   r   r   r   r  r  r  r  r,   ra   rb   rc   r   r   r     sq     --/IOdeGH99G--C,5570<
:	8
<0 0r   r   c                   s0  a  ] tR tRt o Rt]! R R RR7      t]t]	P                  t]	P                  t]	P                  t]	P                   t]	P$                  t]	P(                  t]R 4       tR t]	P2                  tR	 tR
 tR tR tR tR t R t!R t"R t#R t$R t%R t&R t'R t(R t)R t*R t+R t,R t-R t.R t/R t0R t1R  t2R! t3R" t4R# t5R$ t6R% t7R& t8R' t9R( t:R) t;R* t<R+ t=R, t>R- t?R. t@R/ tAR0 tBR1 tCR2 tDR3 tER4 tF]R5 4       tGR6 tHR7 tIR8 tJR9 tKR:tLV tMR;# )<Repoi;  zf
RPM repository
Represents a repository used to download packages.
Remote metadata is cached locally.
c                r.   r#   r/   r0   r2   r   r3   Repo.<lambda>B  r5   r   c                r6   r#   r/   r7   r8   r   r3   r  B  r9   r   r:   r;   c                rB   z
Verify repo ID
:type repo_id: string
:param repo_id: repo ID to verify
:rtype: std::string::size_type
:return: index of the first invalid character in the repo ID (if present) or std::string::npos
)r   ZRepo_verify_id)repo_idr2   r   	verify_idZRepo.verify_idK  s     ##G,,r   c                r   )a|  
*Overload 1:*
Construct the Repo object
:type base: libdnf5::BaseWeakPtr
:param base:   weak pointer to the Base instance
:type id: string
:param id:     repo ID to use
:type type: int, optional
:param type:   type of repo

|

*Overload 2:*
Construct the Repo object
:type base: libdnf5::Base
:param base:   a reference to the Base instance
:type id: string
:param id:     repo ID to use
:type type: int, optional
:param type:   type of repo

|

*Overload 3:*
Construct the Repo object
:type base: libdnf5::Base
:param base:   a reference to the Base instance
:type id: string
:param id:     repo ID to use
:param type:   type of repo
N)r   ZRepo_swiginitZnew_Repor\   r]   r   rA   ZRepo.__init__V  s    @ 	D%..$"78r   c                rB   zReturns the repository type)r   ZRepo_get_typerC   r2   r   get_typeZRepo.get_typey  s    ""4((r   c                rE   zjRegisters a class that implements callback methods (fastest mirror detection, download state, key import).)r   ZRepo_set_callbacksr
   Z	callbacksr8   r   set_callbacksZRepo.set_callbacks}  s    ''88r   c                rB   z8Returns the currently registered callbacks for the repo.)r   ZRepo_get_callbacksrC   r2   r   get_callbacksZRepo.get_callbacks      ''--r   c                rB   z|
Verify repo object configuration
Will throw exception if Repo has no mirror or baseurl set or if Repo type is unsupported.
)r   ZRepo_verifyrC   r2   r   verifyZRepo.verify  s    
   &&r   c                r[   z
*Overload 1:*
Returns pointer to the repository configuration

|

*Overload 2:*
Returns pointer to the repository configuration
)r   ZRepo_get_configr\   r]   r   
get_configZRepo.get_config  s     $$T1D11r   c                rB   zReturns repository id)r   ZRepo_get_idrC   r2   r   rm   ZRepo.get_id        &&r   c                rB   zEnable the repository)r   ZRepo_enablerC   r2   r   enableZRepo.enable  r  r   c                rB   zDisable the repository)r   ZRepo_disablerC   r2   r   disableZRepo.disable      !!$''r   c                rB   zT
Return whether the repository is enabled.
:rtype: boolean
:return: true if enabled
)r   ZRepo_is_enabledrC   r2   r   
is_enabledZRepo.is_enabled       $$T**r   c                rB   zP
Return whether the repository is local.
:rtype: boolean
:return: true if local
)r   ZRepo_is_localrC   r2   r   is_localZRepo.is_local       ""4((r   c                rB   z Reads metadata from local cache.)r   ZRepo_read_metadata_cacherC   r2   r   read_metadata_cacheZRepo.read_metadata_cache      --d33r   c                rB   z
Checks whether the locally downloaded metadata are in sync with the origin.
:rtype: boolean
:return: `true` if metadata are in sync with the origin, `false` otherwise.
)r   ZRepo_is_in_syncrC   r2   r   
is_in_syncZRepo.is_in_sync  r   r   c                rB   z
Returns whether the using of "includes" is enabled
If enabled, only packages listed in the "includepkgs" will be used from the repository.
)r   ZRepo_get_use_includesrC   r2   r   get_use_includesZRepo.get_use_includes  s    
 **400r   c                rE   z~
Enables/disables using of "includes"
If enabled, only packages listed in the "includepkgs" will be used from the repository.
)r   ZRepo_set_use_includesr
   Zenabledr8   r   set_use_includesZRepo.set_use_includes  s    
 **499r   c                rB   zl
Returns repository cost
TODO(jrohel): Remove it? It is only shortcut for get_config()->cost()->get_value()
)r   ZRepo_get_costrC   r2   r   get_costZRepo.get_cost      
 ""4((r   c                r[   a  
Set repo cost in RepoConf and in Libsolv repo if attached. Values are only updated when Option::Priority
of stored value is equal or lower.

Version: 1.0.0
:type value: int
:param value: Cost value
:type priority: int, optional
:param priority: Optional argument
)r   ZRepo_set_costr\   r]   r   set_costZRepo.set_cost  s     ""4/$//r   c                rB   zp
Returns repository priority
TODO(jrohel): Remove it? It is only shortcut for get_config()->cost()->get_value()
)r   ZRepo_get_priorityrC   r2   r   get_priorityZRepo.get_priority  s    
 &&t,,r   c                r[   a  
Set repo priority in RepoConf and in Libsolv repo if attached. Values are only updated when
Option::Priority of stored value is equal or lower.

Version: 1.0.0
:type value: int
:param value: Priority value
:type priority: int, optional
:param priority: Optional argument
)r   ZRepo_set_priorityr\   r]   r   set_priorityZRepo.set_priority  s     &&t3d33r   c                rB   r#   )r   ZRepo_get_revisionrC   r2   r   get_revisionZRepo.get_revision  rn   r   c                rB   zGets age of the local cache)r   ZRepo_get_agerC   r2   r   get_ageZRepo.get_age  r  r   c                rE   a  
Return path to the particular downloaded repository metadata in cache
:type metadata_type: string
:param metadata_type: metadata type (filelists, other, productid...)
:rtype: string
:return: file path or empty string in case the requested metadata does not exist
)r   ZRepo_get_metadata_pathr
   Zmetadata_typer8   r   get_metadata_pathZRepo.get_metadata_path  s     ++D@@r   c                rB   z
Mark whatever is in the current cache expired.
This repo instance will always try to fetch a fresh metadata after this
method is called.
)r   ZRepo_expirerC   r2   r   expireZRepo.expire  s       &&r   c                rB   zN
Return whether the cached metadata is expired.
:rtype: boolean
:return: bool
)r   ZRepo_is_expiredrC   r2   r   
is_expiredZRepo.is_expired  r   r   c                rB   z
Get the number of seconds after which the cached metadata will expire.
Negative number means the metadata has expired already.
:rtype: int
:return: Seconds to expiration
)r   ZRepo_get_expires_inrC   r2   r   get_expires_inZRepo.get_expires_in  s     ((..r   c                rE   r#   )r   ZRepo_set_max_mirror_triesr
   Zmax_mirror_triesr8   r   set_max_mirror_triesZRepo.set_max_mirror_tries   s    ..tFFr   c                rB   zPGets timestamp of metadata "primary" file, if the file is not present returns -1)r   ZRepo_get_timestamprC   r2   r   get_timestampZRepo.get_timestamp#  r  r   c                rB   z
Gets the highest timestamp from repomd records
TODO(jrohel): Used in DNF repolist: displayed as "Repo-updated time" base.py: "using metadata from" in debug messages Is it correct?
)r   ZRepo_get_max_timestamprC   r2   r   get_max_timestampZRepo.get_max_timestamp'  s    
 ++D11r   c                rE   a  
Try to preserve remote side timestamps
When set to true the underlying librepo is asked to make an attempt to set the timestamps
of the local downloaded files (repository metadata and packages) to match those from
the remote files.
This feature is by default switched off.
:type preserve_remote_time: boolean
:param preserve_remote_time: true - use remote file timestamp, false - use the current time
)r   ZRepo_set_preserve_remote_timer
   Zpreserve_remote_timer8   r   set_preserve_remote_timeZRepo.set_preserve_remote_time.  s     224NNr   c                rB   r#   )r   ZRepo_get_preserve_remote_timerC   r2   r   get_preserve_remote_timeZRepo.get_preserve_remote_time:  s    22488r   c                rB   z2TODO(jrohel): Used by DNF repolist. Do we need it?)r   ZRepo_get_content_tagsrC   r2   r   get_content_tagsZRepo.get_content_tags=      **400r   c                rB   rM  )r   ZRepo_get_distro_tagsrC   r2   r   get_distro_tagsZRepo.get_distro_tagsA      ))$//r   c                rB   aL  
Get list of relative locations of metadata files inside the repo
e.g. [('primary', 'repodata/primary.xml.gz'), ('filelists', 'repodata/filelists.xml.gz')...]
:rtype: std::vector< std::pair< std::string,std::string >,std::allocator< std::pair< std::string,std::string > > >
:return: vector of (metadata_type, location) string pairs
)r   ZRepo_get_metadata_locationsrC   r2   r   get_metadata_locationsZRepo.get_metadata_locationsE  r   r   c                rB   z+Gets path to the repository cache directory)r   ZRepo_get_cachedirrC   r2   r   r   ZRepo.get_cachedirN  s    &&t,,r   c                rB   z0Gets path to the repository persistent directory)r   ZRepo_get_persistdirrC   r2   r   r   ZRepo.get_persistdirR      ((..r   c                rB   z
Gets name of repository
Alias
)r   ZRepo_get_namerC   r2   r   get_nameZRepo.get_nameV  r0  r   c                rE   z'Sets repository configuration file path)r   ZRepo_set_repo_file_pathr
   pathr8   r   set_repo_file_pathZRepo.set_repo_file_path]  s    ,,T88r   c                rB   z'Gets repository configuration file path)r   ZRepo_get_repo_file_pathrC   r2   r   get_repo_file_pathZRepo.get_repo_file_patha  r   r   c                rE   z(Sets repository synchronisation strategy)r   ZRepo_set_sync_strategyr
   Zstrategyr8   r   set_sync_strategyZRepo.set_sync_strategye  s    ++D;;r   c                rB   z+Returns repository synchronisation strategy)r   ZRepo_get_sync_strategyrC   r2   r   get_sync_strategyZRepo.get_sync_strategyi  s    ++D11r   c                rE   a  
Downloads file from URL into given opened file descriptor.
TODO(lukash) fd seems like an inconvenient API for this function, use target path instead?
             It also needs defining what it means downloading an URL through a particular repo
Set http headers.
:type headers: std::vector< std::string,std::allocator< std::string > >
:param headers: A vector of full headers ("header: value")
)r   ZRepo_set_http_headersr
   Zheadersr8   r   set_http_headersZRepo.set_http_headersm  s     **499r   c                rB   z
Get http headers.
:rtype: std::vector< std::string,std::allocator< std::string > >
:return: A vector of full headers ("header: value")
)r   ZRepo_get_http_headersrC   r2   r   get_http_headersZRepo.get_http_headersx  s     **400r   c                rB   a'  
Returns mirrorlist associated with the repository.
Mirrors on this list are mirrors parsed from mirrorlist/metalink specified by LRO_MIRRORLIST or
from mirrorlist specified by LRO_MIRROSLISTURL and metalink specified by LRO_METALINKURL.
No URLs specified by LRO_URLS are included in this list.
)r   ZRepo_get_mirrorsrC   r2   r   get_mirrorsZRepo.get_mirrors  s     %%d++r   c                rB   r#   )r   ZRepo_get_weak_ptrrC   r2   r   get_weak_ptrZRepo.get_weak_ptr  rn   r   c                rB   zb
:rtype: libdnf5::BaseWeakPtr
:return: The `Base` object to which this object belongs.
Since: 5.0
)r   ZRepo_get_baserC   r2   r   get_baseZRepo.get_base  r#  r   c                rB   z-Return string representation of the Type enum)r   ZRepo_type_to_string)r   r2   r   type_to_stringZRepo.type_to_string  s     ((..r   c                rE   zDownloads repository metadata.)r   ZRepo_download_metadatar
   Zdestdirr8   r   download_metadataZRepo.download_metadata  s    ++D::r   c                rB   zXReturns a list of pairs of the rpmmd type and filename of the Appstream data of the repo)r   ZRepo_get_appstream_metadatarC   r2   r   get_appstream_metadataZRepo.get_appstream_metadata      0066r   c                rE   r#   )r   ZRepo_set_user_datar
   r   r8   r   set_user_dataZRepo.set_user_data  s    ''88r   c                rB   r#   )r   ZRepo_get_user_datarC   r2   r   get_user_dataZRepo.get_user_data      ''--r   r   N)Nr	   r   r)   r*   r+   r   r   r   r   r   ZRepo_Type_AVAILABLEZType_AVAILABLEZRepo_Type_SYSTEMZType_SYSTEMZRepo_Type_COMMANDLINEZType_COMMANDLINEZRepo_SyncStrategy_LAZYZSyncStrategy_LAZYZRepo_SyncStrategy_ONLY_CACHEZSyncStrategy_ONLY_CACHEZRepo_SyncStrategy_TRY_CACHEZSyncStrategy_TRY_CACHEZstaticmethodr
  rA   Zdelete_Repor`   r  r  r  r  r  rm   r  r  r  r"  r%  r(  r*  r-  r/  r2  r4  r6  r7  r9  r<  r>  r@  rB  rD  rF  rH  rK  rL  rN  rP  rS  r   r   rX  r\  r^  ra  rc  rf  rh  rj  rk  rm  ro  rr  rt  rw  rx  r,   ra   rb   rc   r   r  r  ;  s     -/IOdeGH..N((K2244#@@">>- - 9B (()9.'
2''(+)4+1:)0-4-(A'+/G.2
O9107-/)93<2	:1,-) / /;79. .r   r  c                   s  a  ] tR tRt o Rt]! R R RR7      t]tR t	]
P                  tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R t!R t"R t#R t$R  t%R! t&R" t'R# t(R$ t)R% t*R& t+R' t,R( t-R) t.R* t/R+ t0R, t1R- t2R. t3R/ t4R0 t5R1 t6R2 t7R3 t8R4 t9R5 t:R6 t;R7 t<R8 t=R9 t>R: t?R; t@R< tAR= tBR> tCR? tDR@ tERA tFRB tGRC tHRD tIRE tJRFtKV tLRG# )HRepoWeakPtri    
WeakPtr is a "smart" pointer. It contains a pointer to resource and to guard of resource.
WeakPtr pointer can be owner of the resource. However, the resource itself may depend on another resource.
WeakPtr registers/unregisters itself at the guard of resource. And the resource guard invalidates
the registered WeakPtrs when the resource is unusable (eg. its dependecny was released).
Note on thread safety:
It is safe to create, access and destroy WeakPtrs in multiple threads simultaneously.
c                r.   r#   r/   r0   r2   r   r3   RepoWeakPtr.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r|    r9   r   r:   r;   c                rj   r#   )r   ZRepoWeakPtr_swiginitZnew_RepoWeakPtrr\   r]   r   rA   ZRepoWeakPtr.__init__  s    ""4)>)>)EFr   c                rB   zRProvides access to the managed object. Generates exception if object is not valid.)r   ZRepoWeakPtr___deref__rC   r2   r   r   ZRepoWeakPtr.__deref__  rO  r   c                rB   zTReturns a pointer to the managed object. Generates exception if object is not valid.)r   ZRepoWeakPtr_getrC   r2   r   r   ZRepoWeakPtr.get  s    $$T**r   c                rB   z"Checks if managed object is valid.)r   ZRepoWeakPtr_is_validrC   r2   r   is_validZRepoWeakPtr.is_valid  rQ  r   c                rE   z?Checks if the other WeakPtr instance has the same WeakPtrGuard.)r   ZRepoWeakPtr_has_same_guardr
   Zotherr8   r   has_same_guardZRepoWeakPtr.has_same_guard  s    //<<r   c                rB   r#   )r   ZRepoWeakPtr___ref__rC   r2   r   __ref__ZRepoWeakPtr.__ref__  rN   r   c                rE   r#   )r   ZRepoWeakPtr___eq__r  r8   r   rU   ZRepoWeakPtr.__eq__      ''44r   c                rE   r#   )r   ZRepoWeakPtr___ne__r  r8   r   rW   ZRepoWeakPtr.__ne__  r  r   c                rE   r#   )r   ZRepoWeakPtr___lt__r  r8   r   __lt__ZRepoWeakPtr.__lt__  r  r   c                rE   r#   )r   ZRepoWeakPtr___gt__r  r8   r   __gt__ZRepoWeakPtr.__gt__  r  r   c                rE   r#   )r   ZRepoWeakPtr___le__r  r8   r   __le__ZRepoWeakPtr.__le__  r  r   c                rE   r#   )r   ZRepoWeakPtr___ge__r  r8   r   __ge__ZRepoWeakPtr.__ge__  r  r   c                rB   r#   )r   ZRepoWeakPtr___hash__rC   r2   r   __hash__ZRepoWeakPtr.__hash__  rD   r   c                rE   r  )r   ZRepoWeakPtr_verify_id)r
   r	  r8   r   r
  ZRepoWeakPtr.verify_id  s     **499r   c                rB   r  )r   ZRepoWeakPtr_get_typerC   r2   r   r  ZRepoWeakPtr.get_type  rQ  r   c                rE   r  )r   ZRepoWeakPtr_set_callbacksr  r8   r   r  ZRepoWeakPtr.set_callbacks  s    ..t??r   c                rB   r  )r   ZRepoWeakPtr_get_callbacksrC   r2   r   r  ZRepoWeakPtr.get_callbacks      ..t44r   c                rB   r  )r   ZRepoWeakPtr_verifyrC   r2   r   r  ZRepoWeakPtr.verify  s    
 ''--r   c                r[   r  )r   ZRepoWeakPtr_get_configr\   r]   r   r  ZRepoWeakPtr.get_config  s     ++D8488r   c                rB   r  )r   ZRepoWeakPtr_get_idrC   r2   r   rm   ZRepoWeakPtr.get_id  r  r   c                rB   r  )r   ZRepoWeakPtr_enablerC   r2   r   r  ZRepoWeakPtr.enable  r  r   c                rB   r  )r   ZRepoWeakPtr_disablerC   r2   r   r  ZRepoWeakPtr.disable  rV  r   c                rB   r  )r   ZRepoWeakPtr_is_enabledrC   r2   r   r  ZRepoWeakPtr.is_enabled       ++D11r   c                rB   r!  )r   ZRepoWeakPtr_is_localrC   r2   r   r"  ZRepoWeakPtr.is_local       ))$//r   c                rB   r$  )r   ZRepoWeakPtr_read_metadata_cacherC   r2   r   r%  ZRepoWeakPtr.read_metadata_cache'  s    44T::r   c                rB   r'  )r   ZRepoWeakPtr_is_in_syncrC   r2   r   r(  ZRepoWeakPtr.is_in_sync+  r  r   c                rB   r)  )r   ZRepoWeakPtr_get_use_includesrC   r2   r   r*  ZRepoWeakPtr.get_use_includes3  s    
 11$77r   c                rE   r+  )r   ZRepoWeakPtr_set_use_includesr,  r8   r   r-  ZRepoWeakPtr.set_use_includes:  s    
 11$@@r   c                rB   r.  )r   ZRepoWeakPtr_get_costrC   r2   r   r/  ZRepoWeakPtr.get_costA      
 ))$//r   c                r[   r1  )r   ZRepoWeakPtr_set_costr\   r]   r   r2  ZRepoWeakPtr.set_costH  s     ))$666r   c                rB   r3  )r   ZRepoWeakPtr_get_priorityrC   r2   r   r4  ZRepoWeakPtr.get_priorityU      
 --d33r   c                r[   r5  )r   ZRepoWeakPtr_set_priorityr\   r]   r   r6  ZRepoWeakPtr.set_priority\  s     --d:T::r   c                rB   r#   )r   ZRepoWeakPtr_get_revisionrC   r2   r   r7  ZRepoWeakPtr.get_revisioni      --d33r   c                rB   r8  )r   ZRepoWeakPtr_get_agerC   r2   r   r9  ZRepoWeakPtr.get_agel  rV  r   c                rE   r:  )r   ZRepoWeakPtr_get_metadata_pathr;  r8   r   r<  ZRepoWeakPtr.get_metadata_pathp  s     224GGr   c                rB   r=  )r   ZRepoWeakPtr_expirerC   r2   r   r>  ZRepoWeakPtr.expirez       ''--r   c                rB   r?  )r   ZRepoWeakPtr_is_expiredrC   r2   r   r@  ZRepoWeakPtr.is_expired  r  r   c                rB   rA  )r   ZRepoWeakPtr_get_expires_inrC   r2   r   rB  ZRepoWeakPtr.get_expires_in  s     //55r   c                rE   r#   )r   Z RepoWeakPtr_set_max_mirror_triesrC  r8   r   rD  Z RepoWeakPtr.set_max_mirror_tries  s    55dMMr   c                rB   rE  )r   ZRepoWeakPtr_get_timestamprC   r2   r   rF  ZRepoWeakPtr.get_timestamp  r  r   c                rB   rG  )r   ZRepoWeakPtr_get_max_timestamprC   r2   r   rH  ZRepoWeakPtr.get_max_timestamp  s    
 22488r   c                rE   rI  )r   Z$RepoWeakPtr_set_preserve_remote_timerJ  r8   r   rK  Z$RepoWeakPtr.set_preserve_remote_time  s     99$UUr   c                rB   r#   )r   Z$RepoWeakPtr_get_preserve_remote_timerC   r2   r   rL  Z$RepoWeakPtr.get_preserve_remote_time  r   r   c                rB   rM  )r   ZRepoWeakPtr_get_content_tagsrC   r2   r   rN  ZRepoWeakPtr.get_content_tags  s    11$77r   c                rB   rM  )r   ZRepoWeakPtr_get_distro_tagsrC   r2   r   rP  ZRepoWeakPtr.get_distro_tags  ru  r   c                rB   rR  )r   Z"RepoWeakPtr_get_metadata_locationsrC   r2   r   rS  Z"RepoWeakPtr.get_metadata_locations       77==r   c                rB   rT  )r   ZRepoWeakPtr_get_cachedirrC   r2   r   r   ZRepoWeakPtr.get_cachedir  r&  r   c                rB   rU  )r   ZRepoWeakPtr_get_persistdirrC   r2   r   r   ZRepoWeakPtr.get_persistdir  r   r   c                rB   rW  )r   ZRepoWeakPtr_get_namerC   r2   r   rX  ZRepoWeakPtr.get_name  r  r   c                rE   rY  )r   ZRepoWeakPtr_set_repo_file_pathrZ  r8   r   r\  ZRepoWeakPtr.set_repo_file_path  s    33D??r   c                rB   r]  )r   ZRepoWeakPtr_get_repo_file_pathrC   r2   r   r^  ZRepoWeakPtr.get_repo_file_path  s    33D99r   c                rE   r_  )r   ZRepoWeakPtr_set_sync_strategyr`  r8   r   ra  ZRepoWeakPtr.set_sync_strategy  s    224BBr   c                rB   rb  )r   ZRepoWeakPtr_get_sync_strategyrC   r2   r   rc  ZRepoWeakPtr.get_sync_strategy  s    22488r   c                rE   rd  )r   ZRepoWeakPtr_set_http_headersre  r8   r   rf  ZRepoWeakPtr.set_http_headers  s     11$@@r   c                rB   rg  )r   ZRepoWeakPtr_get_http_headersrC   r2   r   rh  ZRepoWeakPtr.get_http_headers  s     11$77r   c                rB   ri  )r   ZRepoWeakPtr_get_mirrorsrC   r2   r   rj  ZRepoWeakPtr.get_mirrors  s     ,,T22r   c                rB   r#   )r   ZRepoWeakPtr_get_weak_ptrrC   r2   r   rk  ZRepoWeakPtr.get_weak_ptr  r  r   c                rB   rl  )r   ZRepoWeakPtr_get_baserC   r2   r   rm  ZRepoWeakPtr.get_base  r  r   c                rE   rn  )r   ZRepoWeakPtr_type_to_string)r
   r   r8   r   ro  ZRepoWeakPtr.type_to_string  s    //;;r   c                rE   rp  )r   ZRepoWeakPtr_download_metadatarq  r8   r   rr  ZRepoWeakPtr.download_metadata  s    224AAr   c                rB   rs  )r   Z"RepoWeakPtr_get_appstream_metadatarC   r2   r   rt  Z"RepoWeakPtr.get_appstream_metadata  s    77==r   c                rE   r#   )r   ZRepoWeakPtr_set_user_datarv  r8   r   rw  ZRepoWeakPtr.set_user_data  s    ..t??r   c                rB   r#   )r   ZRepoWeakPtr_get_user_datarC   r2   r   rx  ZRepoWeakPtr.get_user_data  s    ..t44r   r   N)Mr	   r   r)   r*   r+   r   r   r   r   rA   r   Zdelete_RepoWeakPtrr`   r   r   r  r  r  rU   rW   r  r  r  r  r  r
  r  r  r  r  r  rm   r  r  r  r"  r%  r(  r*  r-  r/  r2  r4  r6  r7  r9  r<  r>  r@  rB  rD  rF  rH  rK  rL  rN  rP  rS  r   r   rX  r\  r^  ra  rc  rf  rh  rj  rk  rm  ro  rr  rt  rw  rx  r,   ra   rb   rc   r   rz  rz    sz     -/IOdeGHG//1+0=/5555550:0@5.
9../20;28A074;4/H.26N59
V@87>460@:C9	A8340<B>@5 5r   rz  c                   sz   a  ] tR tRt o ]! R R RR7      tR t]tR t	R t
R	 tR
 tR t]P                  tRtV tR# )SetConstIteratorRepoWeakPtri  c                r.   r#   r/   r0   r2   r   r3   $SetConstIteratorRepoWeakPtr.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r    r9   r   r:   r;   c                r<   zNo constructor definedr=   r>   r@   r   rA   Z$SetConstIteratorRepoWeakPtr.__init__      566r   c                rB   r#   )r   Z!SetConstIteratorRepoWeakPtr_valuerC   r2   r   r   Z!SetConstIteratorRepoWeakPtr.value"  s    66t<<r   c                rB   r#   )r   Z SetConstIteratorRepoWeakPtr_nextrC   r2   r   rO   Z SetConstIteratorRepoWeakPtr.next%      55d;;r   c                rB   r#   )r   Z SetConstIteratorRepoWeakPtr_prevrC   r2   r   prevZ SetConstIteratorRepoWeakPtr.prev(  r  r   c                rE   r#   )r   Z"SetConstIteratorRepoWeakPtr___eq__r  r8   r   rU   Z"SetConstIteratorRepoWeakPtr.__eq__+      77DDr   c                rE   r#   )r   Z"SetConstIteratorRepoWeakPtr___ne__r  r8   r   rW   Z"SetConstIteratorRepoWeakPtr.__ne__.  r  r   r   N)r	   r   r)   r*   r   r   rA   r   r   r   rO   r  rU   rW   r   Z"delete_SetConstIteratorRepoWeakPtrr`   r,   ra   rb   rc   r   r  r    sG     -/IOdeG7H=<<EE??r   r  c                   s   a  ] tR tRt o Rt]! R R RR7      tR t]t	]
P                  tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R t!R t"Rt#V t$R# ) SetRepoWeakPtri4  z{
Set represents set of objects (e.g. repositories, or groups)
and implements set operations such as unions or differences.
c                r.   r#   r/   r0   r2   r   r3   SetRepoWeakPtr.<lambda>:  r5   r   c                r6   r#   r/   r7   r8   r   r3   r  :  r9   r   r:   r;   c                r<   r  r=   r>   r@   r   rA   ZSetRepoWeakPtr.__init__<  r  r   c                rB   r#   )r   ZSetRepoWeakPtr_emptyrC   r2   r   emptyZSetRepoWeakPtr.emptyA  rD   r   c                rB   r#   )r   ZSetRepoWeakPtr_sizerC   r2   r   sizeZSetRepoWeakPtr.sizeD  rN   r   c                rB   r#   )r   ZSetRepoWeakPtr_clearrC   r2   r   clearZSetRepoWeakPtr.clearG  rD   r   c                r[   r#   )r   ZSetRepoWeakPtr_addr\   r]   r   r   ZSetRepoWeakPtr.addJ  r   r   c                rE   r#   )r   ZSetRepoWeakPtr_remover
   Zobjr8   r   removeZSetRepoWeakPtr.removeM  s    **455r   c                rE   r#   )r   ZSetRepoWeakPtr_findr  r8   r   findZSetRepoWeakPtr.findP  s    ((33r   c                rE   r#   )r   ZSetRepoWeakPtr_containsr  r8   r   containsZSetRepoWeakPtr.containsS  s    ,,T77r   c                rE   r#   )r   ZSetRepoWeakPtr___ior__r  r8   r   __ior__ZSetRepoWeakPtr.__ior__V      ++D88r   c                rE   r#   )r   ZSetRepoWeakPtr___iand__r  r8   r   __iand__ZSetRepoWeakPtr.__iand__Y      ,,T99r   c                rE   r#   )r   ZSetRepoWeakPtr___isub__r  r8   r   rY   ZSetRepoWeakPtr.__isub__\  r  r   c                rE   r#   )r   ZSetRepoWeakPtr___ixor__r  r8   r   __ixor__ZSetRepoWeakPtr.__ixor___  r  r   c                rE   r#   )r   ZSetRepoWeakPtr_updater  r8   r   updateZSetRepoWeakPtr.updateb  s    **477r   c                rE   r#   )r   ZSetRepoWeakPtr_intersectionr  r8   r   intersectionZSetRepoWeakPtr.intersectione  s    00==r   c                rE   r#   )r   ZSetRepoWeakPtr_differencer  r8   r   
differenceZSetRepoWeakPtr.differenceh  s    ..t;;r   c                rE   r#   )r   Z#SetRepoWeakPtr_symmetric_differencer  r8   r   symmetric_differenceZ#SetRepoWeakPtr.symmetric_differencek  s    88EEr   c                rE   r#   )r   ZSetRepoWeakPtr_is_subsetr  r8   r   	is_subsetZSetRepoWeakPtr.is_subsetn  s    --d::r   c                rE   r#   )r   ZSetRepoWeakPtr_is_supersetr  r8   r   is_supersetZSetRepoWeakPtr.is_supersetq  s    //<<r   c                rE   r#   )r   ZSetRepoWeakPtr_swapr  r8   r   r   ZSetRepoWeakPtr.swapt  s    ((55r   c                r[   )z'Return reference to underlying std::set)r   ZSetRepoWeakPtr_get_datar\   r]   r   get_dataZSetRepoWeakPtr.get_dataw  s    ,,T9D99r   c                rB   r#   )r   ZSetRepoWeakPtr_beginrC   r2   r   beginZSetRepoWeakPtr.begin{  rD   r   c                rB   r#   )r   ZSetRepoWeakPtr_endrC   r2   r   r   ZSetRepoWeakPtr.end~  ry  r   c                rB   r#   )r   ZSetRepoWeakPtr___len__rC   r2   r   __len__ZSetRepoWeakPtr.__len__      ++D11r   r   N)%r	   r   r)   r*   r+   r   r   rA   r   r   r   Zdelete_SetRepoWeakPtrr`   r  r  r  r   r  r  r  r  r  rY   r  r  r  r  r  r  r  r   r  r  r   r  r,   ra   rb   rc   r   r  r  4  s     
 -/IOdeG7H220/056489:::8><F;=6:0.2 2r   r  c                  s*    \         P                  ! V !  # r#   )r   rU   )r?   s   *r   rU   rU     s    <<r   c                   sr   a  ] tR tRt o Rt]! R R RR7      t]tR t	R t
R	 tR
 t]P                  tRtV tR# )SackQueryRepoWeakPtri  z+Query is a Set with filtering capabilities.c                r.   r#   r/   r0   r2   r   r3   SackQueryRepoWeakPtr.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r    r9   r   r:   r;   c                rj   r#   )r   ZSackQueryRepoWeakPtr_swiginitZnew_SackQueryRepoWeakPtrr\   r]   r   rA   ZSackQueryRepoWeakPtr.__init__  s    ++D%2P2PRV2WXr   c                r[   r#   )r   ZSackQueryRepoWeakPtr_filterr\   r]   r   filterZSackQueryRepoWeakPtr.filter  r   r   c                rB   )zTGet a single object. Raise an exception if none or multiple objects match the query.)r   ZSackQueryRepoWeakPtr_getrC   r2   r   r   ZSackQueryRepoWeakPtr.get  r&  r   c                rB   )z$List all objects matching the query.)r   ZSackQueryRepoWeakPtr_listrC   r2   r   listZSackQueryRepoWeakPtr.list  r  r   r   N)r	   r   r)   r*   r+   r   r   r   r   rA   r  r   r  r   Zdelete_SackQueryRepoWeakPtrr`   r,   ra   rb   rc   r   r  r    sA     6-/IOdeGHY>45 88r   r  c                   sr   a  ] tR tRt o Rt]! R R RR7      t]tR t	]
P                  tR tR	 tR
 tRtV tR# )RepoCallbacksi  zt
Base class for repository callbacks.
To implement callbacks, inherit from this class and override virtual methods.
c                r.   r#   r/   r0   r2   r   r3   RepoCallbacks.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r    r9   r   r:   r;   c                r   r#   )r   r  r   ZRepoCallbacks_swiginitZnew_RepoCallbacksr   r   r   rA   ZRepoCallbacks.__init__  s3    >>]*EE$$T5+B+B5+KLr   c                rE   z
OpenPGP key import callback. Allows one to confirm or deny the import.
:type key_info: libdnf5::rpm::KeyInfo
:param key_info: The key that is about to be imported
:rtype: boolean
:return: `true` to import the key, `false` to not import
)r   ZRepoCallbacks_repokey_importr
   key_infor8   r   repokey_importZRepoCallbacks.repokey_import  s     11$AAr   c                rE   z
Called on successful repo key import.
:type key_info: libdnf5::rpm::KeyInfo
:param key_info: The key that was successfully imported
)r   ZRepoCallbacks_repokey_importedr  r8   r   repokey_importedZRepoCallbacks.repokey_imported  s     33DCCr   c                r   r#   )r   r   r   Zdisown_RepoCallbacksr   r   rC   r2   r   r   ZRepoCallbacks.__disown__  s/    		""4(}}T""r   r   N)r	   r   r)   r*   r+   r   r   r   r   rA   r   Zdelete_RepoCallbacksr`   r  r  r   r,   ra   rb   rc   r   r  r    sL     
 -/IOdeGHM 11BD# #r   r  c                   sl   a  ] tR tRt o Rt]! R R RR7      t]tR t	]
P                  tR tR	 tR
tV tR# )RepoCallbacks2_1i  zQExtended repository callbacks with additional methods for support of key removal.c                r.   r#   r/   r0   r2   r   r3   RepoCallbacks2_1.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r    r9   r   r:   r;   c                sZ    \         P                  ! V \         P                  ! 4       4       R # r#   )r   ZRepoCallbacks2_1_swiginitZnew_RepoCallbacks2_1rC   r2   r   rA   ZRepoCallbacks2_1.__init__  s    ''e.H.H.JKr   c                0    \         P                  ! WV4      # )aW  
OpenPGP key remove callback. Allows one to confirm or deny the removal.
:type key_info: libdnf5::rpm::KeyInfo
:param key_info: The key that is about to be removed
:type removal_info: :py:class:`Message`
:param removal_info: Additional information about the key removal
:rtype: boolean
:return: `true` to remove the key, `false` to not remove
)r   ZRepoCallbacks2_1_repokey_remove)r
   r  Zremoval_info   &&&r   repokey_removeZRepoCallbacks2_1.repokey_remove  s     44T\RRr   c                rE   )z
Called on successful repo key removal.
:type key_info: libdnf5::rpm::KeyInfo
:param key_info: The key that was successfully removed
)r   Z RepoCallbacks2_1_repokey_removedr  r8   r   repokey_removedZ RepoCallbacks2_1.repokey_removed  s     55dEEr   r   N)r	   r   r)   r*   r+   r   r   r   r   rA   r   Zdelete_RepoCallbacks2_1r`   r  r  r,   ra   rb   rc   r   r  r    sB     \-/IOdeGHL44
SF Fr   r  c                   s   a  ] tR tRt o ]! R R RR7      t]tR tR t	R t
RR
 ltR tR tR t]t]P"                  tR tR tRtV tR	# )RepoCallbacksUniquePtri  c                r.   r#   r/   r0   r2   r   r3   RepoCallbacksUniquePtr.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r    r9   r   r:   r;   c                rj   r#   )r   ZRepoCallbacksUniquePtr_swiginitZnew_RepoCallbacksUniquePtrr\   r]   r   rA   ZRepoCallbacksUniquePtr.__init__  s    --dE4T4TVZ4[\r   c                rB   r#   )r   Z RepoCallbacksUniquePtr___deref__rC   r2   r   r   Z RepoCallbacksUniquePtr.__deref__  r  r   c                rB   r#   )r   ZRepoCallbacksUniquePtr_releaserC   r2   r   r   ZRepoCallbacksUniquePtr.release  r   r   Nc                rE   r#   )r   ZRepoCallbacksUniquePtr_reset)r
   Z_RepoCallbacksUniquePtr__pr8   r   r   ZRepoCallbacksUniquePtr.reset  s    11$<<r   c                rE   r#   )r   ZRepoCallbacksUniquePtr_swap)r
   Z_RepoCallbacksUniquePtr__ur8   r   r   ZRepoCallbacksUniquePtr.swap  s    00;;r   c                rB   r#   )r   ZRepoCallbacksUniquePtr_getrC   r2   r   r   ZRepoCallbacksUniquePtr.get  s    //55r   c                rB   r#   )r   Z"RepoCallbacksUniquePtr___nonzero__rC   r2   r   r   Z"RepoCallbacksUniquePtr.__nonzero__   r   r   c                rE   r  )r   Z%RepoCallbacksUniquePtr_repokey_importr  r8   r   r  Z%RepoCallbacksUniquePtr.repokey_import  s     ::4JJr   c                rE   r  )r   Z'RepoCallbacksUniquePtr_repokey_importedr  r8   r   r  Z'RepoCallbacksUniquePtr.repokey_imported  s     <<TLLr   r   r#   )r	   r   r)   r*   r   r   r   r   rA   r   r   r   r   r   r   r   r   Zdelete_RepoCallbacksUniquePtrr`   r  r  r,   ra   rb   rc   r   r  r    sd     -/IOdeGH]<:=<6>H ::KM Mr   r  c                   s   a  ] tR tRt o ]! R R RR7      t]t]P                  t
R tR tR tR	 tR
 tR tR tR tRtV tR# )	RepoQueryi  c                r.   r#   r/   r0   r2   r   r3   RepoQuery.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r    r9   r   r:   r;   c                r   )z
*Overload 1:*
Create a new RepoQuery instance.

:type base: libdnf5::BaseWeakPtr
:param base:     A weak pointer to Base

|

*Overload 2:*
Create a new RepoQuery instance.

:type base: libdnf5::Base
:param base:     Reference to Base
N)r   ZRepoQuery_swiginitZnew_RepoQueryr\   r]   r   rA   ZRepoQuery.__init__   s      	  u':':D'ABr   c                rB   )zS
:rtype: libdnf5::BaseWeakPtr
:return: Weak pointer to the Base object.
Since: 5.0
)r   ZRepoQuery_get_baserC   r2   r   rm  ZRepoQuery.get_base2  r  r   c                rE   )z
Filter repos by their `enabled` state.

:type enabled: boolean
:param enabled:  A boolean value the filter is matched against.
Since: 5.0
)r   ZRepoQuery_filter_enabledr,  r8   r   filter_enabledZRepoQuery.filter_enabled:       --d<<r   c                rE   )z
Filter repos by their `expired` state.

:type expired: boolean
:param expired:  A boolean value the filter is matched against.
Since: 5.0
)r   ZRepoQuery_filter_expired)r
   Zexpiredr8   r   filter_expiredZRepoQuery.filter_expiredD  r  r   c                r[   )a*  
*Overload 1:*
Filter repos by their `id`.

:type pattern: string
:param pattern:  A string the filter is matched against.
:type cmp: int, optional
:param cmp:      A comparison (match) operator, defaults to `QueryCmp::EQ`.
Since: 5.0

|

*Overload 2:*
Filter repos by their `id`.

:type patterns: std::vector< std::string,std::allocator< std::string > >
:param patterns: A vector of strings the filter is matched against.
:type cmp: int, optional
:param cmp:      A comparison (match) operator, defaults to `QueryCmp::EQ`.
Since: 5.0

|

*Overload 3:*
Filter repos by their `id`.

:type patterns: std::vector< std::string,std::allocator< std::string > >
:param patterns: A vector of strings the filter is matched against.
:param cmp:      A comparison (match) operator, defaults to `QueryCmp::EQ`.
Since: 5.0
)r   ZRepoQuery_filter_idr\   r]   r   	filter_idZRepoQuery.filter_idN  s    @ ((555r   c                rE   )z
Filter repositories by whether they are local

:type local: boolean
:param local:  `true` returns local repos, `false` remote repos.
Since: 5.0
)r   ZRepoQuery_filter_local)r
   Zlocalr8   r   filter_localZRepoQuery.filter_localp  s     ++D88r   c                r[   )a0  
*Overload 1:*
Filter repos by their `name`.

:type pattern: string
:param pattern:  A string the filter is matched against.
:type cmp: int, optional
:param cmp:      A comparison (match) operator, defaults to `QueryCmp::EQ`.
Since: 5.0

|

*Overload 2:*
Filter repos by their `name`.

:type patterns: std::vector< std::string,std::allocator< std::string > >
:param patterns: A vector of strings the filter is matched against.
:type cmp: int, optional
:param cmp:      A comparison (match) operator, defaults to `QueryCmp::EQ`.
Since: 5.0

|

*Overload 3:*
Filter repos by their `name`.

:type patterns: std::vector< std::string,std::allocator< std::string > >
:param patterns: A vector of strings the filter is matched against.
:param cmp:      A comparison (match) operator, defaults to `QueryCmp::EQ`.
Since: 5.0
)r   ZRepoQuery_filter_namer\   r]   r   filter_nameZRepoQuery.filter_namez  s    @ **47$77r   c                r[   )z
Filter repos by their `type`.

:type type: int
:param type:     A type the filter is matched against.
:type cmp: int, optional
:param cmp:      A comparison (match) operator, defaults to `QueryCmp::EQ`.
Since: 5.0
)r   ZRepoQuery_filter_typer\   r]   r   filter_typeZRepoQuery.filter_type  s     **47$77r   r   N)r	   r   r)   r*   r   r   r   r   r   Zdelete_RepoQueryr`   rA   rm  r  r  r  r  r  r  r,   ra   rb   rc   r   r  r    sW     -/IOdeGH--C$.== 6D9 8D
8 
8r   r  c                   s   a  ] tR tRt o ]! R R RR7      tR t]tR t	R t
R	 tR
 tR tR tR tR tR tR tR t]P*                  tRtV tR# )SackRepoRepoQueryi  c                r.   r#   r/   r0   r2   r   r3   SackRepoRepoQuery.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r    r9   r   r:   r;   c                r<   r  r=   r>   r@   r   rA   ZSackRepoRepoQuery.__init__  r  r   c                rB   r#   )r   ZSackRepoRepoQuery_sizerC   r2   r   r  ZSackRepoRepoQuery.size  r  r   c                rB   r#   )r   ZSackRepoRepoQuery_get_excludesrC   r2   r   get_excludesZSackRepoRepoQuery.get_excludes  r   r   c                rE   r#   )r   ZSackRepoRepoQuery_add_excludesr   r8   r   add_excludesZSackRepoRepoQuery.add_excludes      33D@@r   c                rE   r#   )r   Z!SackRepoRepoQuery_remove_excludesr   r8   r   remove_excludesZ!SackRepoRepoQuery.remove_excludes      66tCCr   c                rE   r#   )r   ZSackRepoRepoQuery_set_excludesr   r8   r   set_excludesZSackRepoRepoQuery.set_excludes  r  r   c                rB   r#   )r   ZSackRepoRepoQuery_get_includesrC   r2   r   get_includesZSackRepoRepoQuery.get_includes  r   r   c                rE   r#   )r   ZSackRepoRepoQuery_add_includesr   r8   r   add_includesZSackRepoRepoQuery.add_includes  r  r   c                rE   r#   )r   Z!SackRepoRepoQuery_remove_includesr   r8   r   remove_includesZ!SackRepoRepoQuery.remove_includes  r  r   c                rE   r#   )r   ZSackRepoRepoQuery_set_includesr   r8   r   set_includesZSackRepoRepoQuery.set_includes  r  r   c                rB   r#   )r   Z"SackRepoRepoQuery_get_use_includesrC   r2   r   r*  Z"SackRepoRepoQuery.get_use_includes  r   r   c                rE   r#   )r   Z"SackRepoRepoQuery_set_use_includesr   r8   r   r-  Z"SackRepoRepoQuery.set_use_includes  r  r   r   N)r	   r   r)   r*   r   r   rA   r   r   r  r  r  r  r  r  r  r  r  r*  r-  r   Zdelete_SackRepoRepoQueryr`   r,   ra   rb   rc   r   r  r    sj     -/IOdeG7H2:ADA:ADA>E55r   r  c                   s   a  ] tR tRt o ]! R R RR7      tR t]tR t	R t
R	 tR
 tR tR tR tR tR tRR ltR tR tR tR tR tR tR tR tR tR t]P<                  tRt V t!R# )RepoSacki  c                r.   r#   r/   r0   r2   r   r3   RepoSack.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r    r9   r   r:   r;   c                r<   r  r=   r>   r@   r   rA   ZRepoSack.__init__  r  r   c                rE   z
Creates a new clear repository with default configuration.
:type id: string
:param id: The new repo id
:rtype: :py:class:`RepoWeakPtr`
:return: A weak pointer to the new repo
)r   ZRepoSack_create_repor
   idr8   r   create_repoZRepoSack.create_repo  s     ))$33r   c                rE   z
Creates new repositories from the configuration file at `path`.
:type path: string
:param path: The path to the repository configuration file
)r   ZRepoSack_create_repos_from_filerZ  r8   r   create_repos_from_fileZRepoSack.create_repos_from_file  s     44T@@r   c                rB   z
Creates new repositories from the Base's configuration file (the
"config_file_path" configuration option).

Repositories can be configured in dnf's main configuration file in
sections other than "[main]".
)r   Z&RepoSack_create_repos_from_config_filerC   r2   r   create_repos_from_config_fileZ&RepoSack.create_repos_from_config_file  s     ;;DAAr   c                rE   a  
Creates new repositories from all configuration files with the ".repo"
extension in the `dir_path` directory.

The files in the directory are read in alphabetical order.
:type dir_path: string
:param dir_path: The path to the directory with configuration files
)r   ZRepoSack_create_repos_from_dirr
   Zdir_pathr8   r   create_repos_from_dirZRepoSack.create_repos_from_dir  s     33DCCr   c                rB   z
Creates new repositories from all configuration files with ".repo" extension in the directories
defined by the "reposdir" configuration option.

The files in the directories are read in alphabetical order.
)r   Z#RepoSack_create_repos_from_reposdirrC   r2   r   create_repos_from_reposdirZ#RepoSack.create_repos_from_reposdir       88>>r   c                r  a  
Create new repositories from ids and paths.
:type repos_paths: std::vector< std::pair< std::string,std::string >,std::allocator< std::pair< std::string,std::string > > >
:param repos_paths: Vector of <ID,PATH> pairs. The "baseurl" parameter of the new repo is set to the PATH, "name" and "id" to the ID. Both values can be enriched by the repository variables which are substituted before creating the repo.
:type priority: int
:param priority: Priority with which the name and baseurl attributes of the new repo are set.
)r   Z RepoSack_create_repos_from_pathsr
   Zrepos_pathsZpriorityr  r   create_repos_from_pathsZ RepoSack.create_repos_from_paths  s     55dRRr   c                rB   aQ  
Creates new repositories from the Base's configuration file (the /
"config_file_path" configuration option) and from directories defined by
the "reposdir" configuration option. Repository overrides are then applied.

Calls `create_repos_from_config_file()`, `create_repos_from_reposdir()`,
and loads repository configuration overrides.
)r   Z/RepoSack_create_repos_from_system_configurationrC   r2   r   &create_repos_from_system_configurationZ/RepoSack.create_repos_from_system_configuration  s     DDTJJr   c                r  z
Creates a new repository from a libsolv testcase file.
:type id: string
:param id: The new repo id
:type path: string
:param path: The path to the libsolv testcase file
:rtype: :py:class:`RepoWeakPtr`
:return: A weak pointer to the new repo
)r   Z*RepoSack_create_repo_from_libsolv_testcaser
   r  r[  r  r   !create_repo_from_libsolv_testcaseZ*RepoSack.create_repo_from_libsolv_testcase!  s     ??$OOr   c                rB   z
If not created yet, creates the system repository and returns it.
:rtype: :py:class:`RepoWeakPtr`
:return: The system repository.
)r   ZRepoSack_get_system_reporC   r2   r   get_system_repoZRepoSack.get_system_repo-       --d33r   c                r  a  
Add given paths to comdline repository.
:type paths: std::vector< std::string,std::allocator< std::string > >
:param paths: Vector of paths to rpm files to be inserted to cmdline repo. Can contain paths to local files or URLs of remote rpm files. Specifications that are neither file paths, nor URLs are ignored.
:type calculate_checksum: boolean, optional
:param calculate_checksum: Whether libsolv should calculate and store checksum of added packages. Setting to true significantly reduces performance.
:rtype: std::map< std::string,libdnf5::rpm::Package,std::less< std::string >,std::allocator< std::pair< std::string const,libdnf5::rpm::Package > > >
:return: Map path->rpm::Package which maps input path to newly created Package object in cmdline repo
)r   ZRepoSack_add_cmdline_packagesr
   ZpathsZcalculate_checksumr  r   add_cmdline_packagesZRepoSack.add_cmdline_packages5  s     224@RSSr   c                rB   zj
:rtype: boolean
:return: `true` if the system repository has been initialized (via `get_system_repo()`).
)r   ZRepoSack_has_system_reporC   r2   r   has_system_repoZRepoSack.has_system_repoA  r  r   c                rB   zq
:rtype: boolean
:return: `true` if the command line repository has been initialized (via `get_cmdline_repo()`).
)r   ZRepoSack_has_cmdline_reporC   r2   r   has_cmdline_repoZRepoSack.has_cmdline_repoH  s    
 ..t44r   c                rE   z
Dumps libsolv's rpm debugdata of all loaded repositories.
:type dir: string
:param dir: The directory into which to dump the debugdata.
)r   ZRepoSack_dump_debugdatar
   Zdirr8   r   dump_debugdataZRepoSack.dump_debugdataO  s     ,,T77r   c                rE   z
Dumps libsolv's comps debugdata of all loaded repositories.
:type dir: string
:param dir: The directory into which to dump the debugdata.
)r   ZRepoSack_dump_comps_debugdatar  r8   r   dump_comps_debugdataZRepoSack.dump_comps_debugdataW  s     224==r   c                rE   a  
Downloads (if necessary) all enabled repository metadata and loads them in parallel.

This is just a thin wrapper around load_repos.

:type load_system: boolean
:param load_system: Whether to load the system repository
Deprecated: Use load_repos() which allows specifying repo type.
)r   Z&RepoSack_update_and_load_enabled_reposr
   Zload_systemr8   r   update_and_load_enabled_reposZ&RepoSack.update_and_load_enabled_repos_  s     ;;DNNr   c                r[   a  
*Overload 1:*
Downloads (if necessary) repositories of selected type and loads them in parallel.
load_repos() can be called only once per each RepoSack.
It also sets up modular filtering.
:type type: int
:param type: What repositories to load (libdnf5::Repo::Type::SYSTEM or libdnf5::Repo::Type::AVAILABLE)

|

*Overload 2:*
Downloads (if necessary) both available and system repositories and loads them in parallel.
load_repos() can be called only once per each RepoSack.
It also sets up modular filtering.
)r   ZRepoSack_load_reposr\   r]   r   
load_reposZRepoSack.load_reposk  s      ((555r   c                rB   r#   )r   ZRepoSack_get_weak_ptrrC   r2   r   rk  ZRepoSack.get_weak_ptr}  s    **400r   c                rB   rl  )r   ZRepoSack_get_baserC   r2   r   rm  ZRepoSack.get_base  s     &&t,,r   c                rB   z
For each enabled repository enable corresponding source repository.
When repo ID has suffix -rpm then it enables <ID>-source-rpms
otherwise it enables <ID>-source
Since: 5.0
)r   ZRepoSack_enable_source_reposrC   r2   r   enable_source_reposZRepoSack.enable_source_repos  s     11$77r   c                rB   z
For each enabled repository enable corresponding debug repository.
When repo ID has suffix -rpm then it enables <ID>-debug-rpms
otherwise it enables <ID>-debuginfo
Since: 5.2.4
)r   ZRepoSack_enable_debug_reposrC   r2   r   enable_debug_reposZRepoSack.enable_debug_repos  r   r   r   NF)"r	   r   r)   r*   r   r   rA   r   r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  rk  rm  r  r
  r   Zdelete_RepoSackr`   r,   ra   rb   rc   r   r  r    s     -/IOdeG7H4AB	D?S	K
P4
T458>
O6$1-87 ,,r   r  c                   sf  a  ] tR tRt o Rt]! R R RR7      t]tR t	]
P                  tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R t!R5R lt"R t#R t$R  t%R! t&R" t'R# t(R$ t)R% t*R& t+R' t,R( t-R) t.R* t/R+ t0R, t1R- t2R. t3R/ t4R0 t5R1 t6R2 t7R3t8V t9R4# )6RepoSackWeakPtri  r{  c                r.   r#   r/   r0   r2   r   r3   RepoSackWeakPtr.<lambda>  r5   r   c                r6   r#   r/   r7   r8   r   r3   r    r9   r   r:   r;   c                rj   r#   )r   ZRepoSackWeakPtr_swiginitZnew_RepoSackWeakPtrr\   r]   r   rA   ZRepoSackWeakPtr.__init__  s    &&tU-F-F-MNr   c                rB   r}  )r   ZRepoSackWeakPtr___deref__rC   r2   r   r   ZRepoSackWeakPtr.__deref__  r  r   c                rB   r~  )r   ZRepoSackWeakPtr_getrC   r2   r   r   ZRepoSackWeakPtr.get  rV  r   c                rB   r  )r   ZRepoSackWeakPtr_is_validrC   r2   r   r  ZRepoSackWeakPtr.is_valid  r&  r   c                rE   r  )r   ZRepoSackWeakPtr_has_same_guardr  r8   r   r  ZRepoSackWeakPtr.has_same_guard  s    33D@@r   c                rB   r#   )r   ZRepoSackWeakPtr___ref__rC   r2   r   r  ZRepoSackWeakPtr.__ref__  rQ   r   c                rE   r#   )r   ZRepoSackWeakPtr___eq__r  r8   r   rU   ZRepoSackWeakPtr.__eq__  r  r   c                rE   r#   )r   ZRepoSackWeakPtr___ne__r  r8   r   rW   ZRepoSackWeakPtr.__ne__  r  r   c                rE   r#   )r   ZRepoSackWeakPtr___lt__r  r8   r   r  ZRepoSackWeakPtr.__lt__  r  r   c                rE   r#   )r   ZRepoSackWeakPtr___gt__r  r8   r   r  ZRepoSackWeakPtr.__gt__  r  r   c                rE   r#   )r   ZRepoSackWeakPtr___le__r  r8   r   r  ZRepoSackWeakPtr.__le__  r  r   c                rE   r#   )r   ZRepoSackWeakPtr___ge__r  r8   r   r  ZRepoSackWeakPtr.__ge__  r  r   c                rB   r#   )r   ZRepoSackWeakPtr___hash__rC   r2   r   r  ZRepoSackWeakPtr.__hash__  r  r   c                rE   r  )r   ZRepoSackWeakPtr_create_repor  r8   r   r  ZRepoSackWeakPtr.create_repo  s     00::r   c                rE   r  )r   Z&RepoSackWeakPtr_create_repos_from_filerZ  r8   r   r  Z&RepoSackWeakPtr.create_repos_from_file  s     ;;DGGr   c                rB   r  )r   Z-RepoSackWeakPtr_create_repos_from_config_filerC   r2   r   r  Z-RepoSackWeakPtr.create_repos_from_config_file  s     BB4HHr   c                rE   r  )r   Z%RepoSackWeakPtr_create_repos_from_dirr  r8   r   r  Z%RepoSackWeakPtr.create_repos_from_dir  s     ::4JJr   c                rB   r  )r   Z*RepoSackWeakPtr_create_repos_from_reposdirrC   r2   r   r  Z*RepoSackWeakPtr.create_repos_from_reposdir  s     ??EEr   c                r  r  )r   Z'RepoSackWeakPtr_create_repos_from_pathsr  r  r   r  Z'RepoSackWeakPtr.create_repos_from_paths	  s     <<TPXYYr   c                rB   r  )r   Z6RepoSackWeakPtr_create_repos_from_system_configurationrC   r2   r   r  Z6RepoSackWeakPtr.create_repos_from_system_configuration	  s     KKDQQr   c                r  r  )r   Z1RepoSackWeakPtr_create_repo_from_libsolv_testcaser  r  r   r  Z1RepoSackWeakPtr.create_repo_from_libsolv_testcase	  s     FFtQUVVr   c                rB   r  )r   ZRepoSackWeakPtr_get_system_reporC   r2   r   r  ZRepoSackWeakPtr.get_system_repo'	  s     44T::r   c                r  r  )r   Z$RepoSackWeakPtr_add_cmdline_packagesr  r  r   r  Z$RepoSackWeakPtr.add_cmdline_packages/	  s     99$GYZZr   c                rB   r  )r   ZRepoSackWeakPtr_has_system_reporC   r2   r   r  ZRepoSackWeakPtr.has_system_repo;	  s    
 44T::r   c                rB   r  )r   Z RepoSackWeakPtr_has_cmdline_reporC   r2   r   r  Z RepoSackWeakPtr.has_cmdline_repoB	  s    
 55d;;r   c                rE   r  )r   ZRepoSackWeakPtr_dump_debugdatar  r8   r   r  ZRepoSackWeakPtr.dump_debugdataI	  s     33D>>r   c                rE   r   )r   Z$RepoSackWeakPtr_dump_comps_debugdatar  r8   r   r  Z$RepoSackWeakPtr.dump_comps_debugdataQ	  s     99$DDr   c                rE   r  )r   Z-RepoSackWeakPtr_update_and_load_enabled_reposr  r8   r   r  Z-RepoSackWeakPtr.update_and_load_enabled_reposY	  s     BB4UUr   c                r[   r  )r   ZRepoSackWeakPtr_load_reposr\   r]   r   r  ZRepoSackWeakPtr.load_repose	  s      //<t<<r   c                rB   r#   )r   ZRepoSackWeakPtr_get_weak_ptrrC   r2   r   rk  ZRepoSackWeakPtr.get_weak_ptrw	      11$77r   c                rB   rl  )r   ZRepoSackWeakPtr_get_baserC   r2   r   rm  ZRepoSackWeakPtr.get_basez	  r  r   c                rB   r  )r   Z#RepoSackWeakPtr_enable_source_reposrC   r2   r   r  Z#RepoSackWeakPtr.enable_source_repos	  r  r   c                rB   r	  )r   Z"RepoSackWeakPtr_enable_debug_reposrC   r2   r   r
  Z"RepoSackWeakPtr.enable_debug_repos	  r  r   c                rB   r#   )r   ZRepoSackWeakPtr_sizerC   r2   r   r  ZRepoSackWeakPtr.size	  rD   r   c                rB   r#   )r   ZRepoSackWeakPtr_get_excludesrC   r2   r   r  ZRepoSackWeakPtr.get_excludes	  r  r   c                rE   r#   )r   ZRepoSackWeakPtr_add_excludesr   r8   r   r  ZRepoSackWeakPtr.add_excludes	      11$>>r   c                rE   r#   )r   ZRepoSackWeakPtr_remove_excludesr   r8   r   r  ZRepoSackWeakPtr.remove_excludes	      44TAAr   c                rE   r#   )r   ZRepoSackWeakPtr_set_excludesr   r8   r   r  ZRepoSackWeakPtr.set_excludes	  r  r   c                rB   r#   )r   ZRepoSackWeakPtr_get_includesrC   r2   r   r  ZRepoSackWeakPtr.get_includes	  r  r   c                rE   r#   )r   ZRepoSackWeakPtr_add_includesr   r8   r   r  ZRepoSackWeakPtr.add_includes	  r  r   c                rE   r#   )r   ZRepoSackWeakPtr_remove_includesr   r8   r   r  ZRepoSackWeakPtr.remove_includes	  r  r   c                rE   r#   )r   ZRepoSackWeakPtr_set_includesr   r8   r   r  ZRepoSackWeakPtr.set_includes	  r  r   c                rB   r#   )r   Z RepoSackWeakPtr_get_use_includesrC   r2   r   r*  Z RepoSackWeakPtr.get_use_includes	  r  r   c                rE   r#   )r   Z RepoSackWeakPtr_set_use_includesr   r8   r   r-  Z RepoSackWeakPtr.set_use_includes	  s    55dBBr   r   Nr  ):r	   r   r)   r*   r+   r   r   r   r   rA   r   Zdelete_RepoSackWeakPtrr`   r   r   r  r  r  rU   rW   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  rk  rm  r  r
  r  r  r  r  r  r  r  r  r  r*  r-  r,   ra   rb   rc   r   r  r    s     -/IOdeGHO335/4A39999994;HI	KFZ	R
W;
[;<?E
V=$84?>08?B?8?B?<C Cr   r  c                 sh    \         P                  ! W P                  4       V P                  4       4      # r#   )rd   ZIteratorr  r   rC   r2   r   SetRepoWeakPtr__iter__r  	  s    ??4txxz::r   )FZsysr    Z_swig_python_version_infor   Zglobalsr   r	   r   r   Zbuiltinsr   ZImportErrorr   r   r"   r'   r   r(   r   Zobjectr-   ZSwigPyIterator_swigregisterrd   re   rf   rg   ZConfigrh   ZConfigRepo_swigregisterr   ZDownloadCallbacks_swigregisterr   Z'DownloadCallbacksUniquePtr_swigregisterr   ZFileDownloader_swigregisterr   ZPackageDownloader_swigregisterr   Z&RepoCacheRemoveStatistics_swigregisterr   ZRepoCache_swigregisterr  ZRepo_swigregisterrz  ZRepoWeakPtr_swigregisterr  Z(SetConstIteratorRepoWeakPtr_swigregisterr  ZSetRepoWeakPtr_swigregisterrU   r  Z!SackQueryRepoWeakPtr_swigregisterr  ZRepoCallbacks_swigregisterr  ZRepoCallbacks2_1_swigregisterr  Z#RepoCallbacksUniquePtr_swigregisterr  ZRepoQuery_swigregisterr  ZSackRepoRepoQuery_swigregisterr  ZRepoSack_swigregisterr  ZRepoSackWeakPtr_swigregisterr  r_   Zcreate_config_option_attributesZ*create_attributes_from_getters_and_settersr   r   r   <module>r     s:   :
79==$h55}9U9UY\`hYh"[
L$ L
 8V 8v  ! !. 1    e> e>P   j )~# ~#B  $ $%6 7a_ a_H  - -.H I5V 5D  ! !. 1,8 ,8^  $ $%6 7C C0  , ,-F G|0 |0~   Y 'j.6 j.Z    n5& n5b   { +@& @0  . ./J KN2V N2b  ! !. 19> 9,  ' '(< =%#F %#P      /F} F>  # #$4 5-MV -M`  ) )*@ AK8$ K8\   Y ''6 '6T  $ $%6 7D-  D-N   H %VCf VCr  " "? 3;0   $ $Z 0  1 12K LcM  s   L L"!L"