|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/lib64/python2.4/ |
Upload File : |
mņ =5Dc @ sL d Z d k Z d d d d g Z h a d Z d Z e Z d Z d S( 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.Nt listdirt opendirt annotatet resetc C s h a d S( s Reset the cache completely.N( t cache( ( ( t /usr/lib64/python2.4/dircache.pyR s c C s y t | \ } } t | =Wn t j o d g } } n Xt i | i } | | j o t i | } | i n | | f t | <| S( s% List directory contents, using cache.i’’’’N( R t patht cached_mtimet listt KeyErrort ost statt st_mtimet mtimeR t sort( R R R R ( ( R R s c C s] xV t t | D]B } t i i t i i | | | o | | d | | <q q Wd S( s Add '/' suffixes to directories.t /N( t ranget lenR t iR R t isdirt joint head( R R R ( ( R R "