Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/
Upload File :
Current File : //usr/lib/python2.7/dircache.pyc

ó
ÿ–|_c@srdZddlmZedddƒ[ddlZddd	d
gZiad„Zd„ZeZd
„Z	dS(sëRead 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/usr/lib/python2.7/dircache.pyRscCsŠyt|\}}t|=Wntk
r;dg}}nXtj|ƒj}||krvtj|ƒ}|jƒn||ft|<|S(s%List directory contents, using cache.iÿÿÿÿ(RtKeyErrortoststattst_mtimeRtsort(tpathtcached_mtimetlisttmtime((s/usr/lib/python2.7/dircache.pyRs

cCs[xTtt|ƒƒD]@}tjjtjj|||ƒƒr||d||<qqWdS(s Add '/' suffixes to directories.t/N(trangetlenRRtisdirtjoin(theadRti((s/usr/lib/python2.7/dircache.pyR%s%(
t__doc__twarningsRRt__all__RRRRR(((s/usr/lib/python2.7/dircache.pyt<module>s