• File: dircache.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/proc/self/root/proc/self/root/opt/alt/python27/lib64/python2.7/dircache.pyc
  • Date Modified: 10/26/2026 8:10 PM
  • File size: 1.59 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

jc@srdZddlmZeddd[ddlZddd	d
gZiadZdZeZd
Z	dS(sRead and cache directory listings.

The listdir() routine returns a sorted list of the files in a directory,
using a cache to avoid reading the directory more often than necessary.
The annotate() routine appends slashes to directories.i(twarnpy3ks2the dircache module has been removed in Python 3.0t
stackleveliNtlistdirtopendirtannotatetresetcCs
iadS(sReset the cache completely.N(tcache(((s-/opt/alt/python27/lib64/python2.7/dircache.pyRscCsyt|\}}t|=Wntk
r;dg}}nXtj|j}||krvtj|}|jn||ft|<|S(s%List directory contents, using cache.i(RtKeyErrortoststattst_mtimeRtsort(tpathtcached_mtimetlisttmtime((s-/opt/alt/python27/lib64/python2.7/dircache.pyRs

cCs[xTtt|D]@}tjjtjj|||r||d||<qqWdS(s Add '/' suffixes to directories.t/N(trangetlenRRtisdirtjoin(theadRti((s-/opt/alt/python27/lib64/python2.7/dircache.pyR%s%(
t__doc__twarningsRRt__all__RRRRR(((s-/opt/alt/python27/lib64/python2.7/dircache.pyt<module>s