2biD*2SSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK r SSK J r SSK J r JrJr \R "\5rSq"SS\5r"SS \5r"S S \5r"S S \5r"SS\5r"SS\5r\"S5\\ R8\0rSSKr\\\RD'\\\RF'\\\RH'CSr&0r'Sr(\RR"\*"S55r+Sr,g!\ a SSK!rN^f=f!\ \%4a N>f=f))unicode_literalsN)DistlibException)cached_propertyget_cache_baseCachec8^\rSrSrSU4SjjrSrSrSrU=r$) ResourceCachec>Uc1[RR[5[ S55n[ [ U]U5 g)Nzresource-cache)ospathjoinrstrsuperr __init__)selfbase __class__s ڏ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/distlib/resources.pyrResourceCache.__init__s4 <77<< 0#6F2GHD mT+D1cg)z Is the cache stale for the given resource? :param resource: The :class:`Resource` being cached. :param path: The path of the resource in the cache. :return: True if the cache is stale. Trresourcers ris_staleResourceCache.is_stale"srczURRU5up#UcUnU$[RR UR UR U5U5n[RRU5n[RRU5(d[R"U5 [RRU5(dSnOURX5nU(a2[US5nURUR5 SSS5 U$U$!,(df  U$=f)z Get a resource into the cache, :param resource: A :class:`Resource` instance. :return: The pathname of the resource in the cache. NTwb)finderget_cache_infor rrr prefix_to_dirdirnameisdirmakedirsexistsropenwritebytes)rrprefixrresultr$stalefs rgetResourceCache.get-s 55h?  >F WW\\$))T-?-?-GNFggoof-G77==)) G$77>>&)) h5&$'1GGHNN+( v (' s D++ D:rN) __name__ __module__ __qualname____firstlineno__rrr/__static_attributes__ __classcell__rs@rr r s2 rr c\rSrSrSrSrg) ResourceBaseGcXlX lgr1r!name)rr!r>s rrResourceBase.__init__Hs   rr=N)r2r3r4r5rr6rrrr:r:Gsrr:cR\rSrSrSrSrSr\S5r\S5r \S5r Sr g ) ResourceMz A class representing an in-package resource, such as a data file. This is not normally instantiated by user code, but rather by a :class:`ResourceFinder` which manages the resource. Fc8URRU5$)zr Get the resource as a stream. This is not a property to make it obvious that it returns a new stream each time. )r! get_streamrs r as_streamResource.as_streamUs{{%%d++rcN[c [5q[RU5$r1)cacher r/rEs r file_pathResource.file_path^s =!OEyyrc8URRU5$r1)r! get_bytesrEs rr*Resource.byteses{{$$T**rc8URRU5$r1)r!get_sizerEs rsize Resource.sizeis{{##D))rrN) r2r3r4r5__doc__ is_containerrFrrJr*rQr6rrrrArAMsO L, ++**rrAc(\rSrSrSr\S5rSrg)ResourceContainernTc8URRU5$r1)r! get_resourcesrEs r resourcesResourceContainer.resourcesqs{{((..rrN)r2r3r4r5rTrrZr6rrrrVrVnsL//rrVc\rSrSrSr\R RS5(aSrOSrSr Sr Sr S r S r S rS rS rSrSrSr\"\R,R.5rSrSrg)ResourceFindervz, Resource finder for file system resources. java).pyc.pyoz.class)r`racXl[USS5Ul[RR [USS55Ulg)N __loader____file__)modulegetattrloaderr rr$r)rrfs rrResourceFinder.__init__s4 flD9 GGOOGFJ$CD rc@[RRU5$r1)r rrealpathrrs r _adjust_pathResourceFinder._adjust_pathsww%%rc[U[5(aSnOSnURU5nURSUR5 [ R R"U6nURU5$)N//r) isinstancer*splitinsertrr rrrm)r resource_nameseppartsr,s r _make_pathResourceFinder._make_paths` mU + +CC##C( Q "u%  ((rc@[RRU5$r1)r rr'rls r_findResourceFinder._findsww~~d##rcSUR4$r1)rrrs rr"ResourceFinder.get_cache_infosX]]""rcURU5nURU5(dSnU$URU5(a [X5nO [ X5nX#lU$r1)rxr{ _is_directoryrVrAr)rrurr,s rfindResourceFinder.finds\}-zz$F !!$''*4?!$6K rc.[URS5$Nrb)r(rr~s rrDResourceFinder.get_streamsHMM4((rc[URS5nUR5sSSS5 $!,(df  g=fr)r(rread)rrr.s rrMResourceFinder.get_bytess' (-- &!668' & &s1 ?cT[RRUR5$r1)r rgetsizer~s rrPResourceFinder.get_sizeswwx}}--rc^U4Sjn[[R"UR5Vs/sHo2"U5(dMUPM sn5$s snf)Nc\>US:g=(a URTR5(+$)N __pycache__)endswithskipped_extensions)r.rs rallowed-ResourceFinder.get_resources..alloweds,&8JJt667,8 9r)setr listdirr)rrrr.s` rrYResourceFinder.get_resourcess< 9rzz(--8G8!GAJA8GHHGs AAc8URUR5$r1)rrr~s rrTResourceFinder.is_containers!!(--00rc## URU5nUbU/nU(aURS5nUv UR(atURnURHXnU(dUnOSR XE/5nURU5nUR(aUR U5 MTUv MZ U(aMggg7f)Nrrq)rpoprTr>rZrappend)rrurtodornamer>new_namechilds riteratorResourceFinder.iterators99]+  :D88A;(($MME ( 2 2$'+H'*xx '>H $ ( 3 -- KK."'K!3 $ s CCC)rrhrfN)r2r3r4r5rSsysplatform startswithrrrmrxr{r"rrDrMrPrYrT staticmethodr rr%rrr6rrrr]r]vs| ||v&&7-E & )$# ).I 1!/M(rr]c\^\rSrSrSrU4SjrSrSrSrSr Sr S r S r S r S rU=r$) ZipResourceFinderz. Resource finder for resources in .zip files. cP>[[U] U5 URRnS[ U5-Ul[URS5(aURRUlO[RUUl[UR5Ul g)Nr_files) rrrrharchivelen prefix_lenhasattrr zipimport_zip_directory_cachesortedindex)rrfrrs rrZipResourceFinder.__init__sv /7++%%c'l* 4;; ) )++,,DK#88ADKDKK( rcU$r1rrls rrmZipResourceFinder._adjust_paths rcXRSnXR;aSnOqU(a*US[R:waU[R-n[R"UR U5nUR UR U5nU(d,[RSXRR5 U$[RSXRR5 U$![a SnNmf=f)NTFz_find failed: %r %rz_find worked: %r %r) rrr rvbisectrr IndexErrorloggerdebugrhr+)rrr,is rr{ZipResourceFinder._findsOO$% ;; FRBFF*bff} djj$/A A11$7 LL.kk6H6H I  LL.kk6H6H I   s4C11 D?DcjURRnURS[U5-SnX#4$)Nr)rhrrr)rrr+rs rr" ZipResourceFinder.get_cache_infos2$$}}QV_-.|rcLURRUR5$r1)rhget_datarr~s rrMZipResourceFinder.get_bytess{{##HMM22rcL[R"URU55$r1)ioBytesIOrMr~s rrDZipResourceFinder.get_streamszz$..233rcXURURSnURUS$)N)rrrrs rrPZipResourceFinder.get_sizes+}}T__-.{{4 ##rcLURURSnU(a*US[R:waU[R- n[ U5n[ 5n[ R "URU5nU[ UR5:aURURU5(dU$URUUSnURUR[RS5S5 US- nU[ UR5:aMU$)Nrrr) rrr rvrrrrraddrs)rrrplenr,rss rrYZipResourceFinder.get_resourcess}}T__-. DH& BFFND4y MM$**d +#djj/!::a=++D11  1 de$A JJqwwrvvq)!, - FA #djj/!  rc*XRSnU(a*US[R:waU[R- n[R"URU5nURUR U5nU$![ a SnU$f=f)NrF)rr rvrrrr)rrrr,s rrZipResourceFinder._is_directorysOO$% DH& BFFND MM$**d + ZZ]--d3F  F  s"B BB)rrr)r2r3r4r5rSrrmr{r"rMrDrPrYrr6r7r8s@rrrs: )$ 34$   rrc(U[[U5'gr1)_finder_registrytype)rh finder_makers rregister_finderr2s%1T&\"rcdU[;a [UnU$U[R;a [U5 [RUn[ USS5nUc [ S5e[ USS5n[ R[U55nUc[ SU-5eU"U5nU[U'U$)z Return a resource finder for a package. :param package: The name of the package. :return: A :class:`ResourceFinder` instance for the package. __path__Nz8You cannot get a finder for a module, only for a packagerczUnable to locate finder for %r) _finder_cachermodules __import__rgrrr/r)packager,rfrrhrs rr!r!9s -w' M #++ % w W%vz40 <"$89 9t4'++DL9  "#Cg#MN Nf%!' g Mr __dummy__c0Sn[R"U5 [RR U5n[ R [ U55nU(a9[n[RRUS5Ul X$l U"U5nU$)z Return a resource finder for a path, which should represent a container. :param path: The path. :return: A :class:`ResourceFinder` instance for the path. Nre) pkgutil get_importerrpath_importer_cacher/rr _dummy_moduler rrrdrc)rr,rhr!rfs rfinder_for_pathrUssF   $ $ ( ( .F  ! !$v, /F '',,tR0" Mr)- __future__rrrloggingr rrtypesrrerutilrrr getLoggerr2rrIr objectr:rArVr]rr zipimporterr_frozen_importlib_external_fi ImportError_frozen_importlibSourceFileLoader FileFinderSourcelessFileLoaderAttributeErrorrrr! ModuleTyperrrrrrrsN(   88   8 $ )E)X6 *|*B/ /W(VW(tKK^ J ,  (0.<S))*'5S^^$1?S--. 2 2  [!12 ] ('( ^$  s0%C;).D ; DD DD DD