Ńň §ÚęLc @ sr d Z d d k l Z e d d d [ d 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.i˙˙˙˙( t warnpy3ks2 the dircache module has been removed in Python 3.0t stackleveli Nt listdirt opendirt annotatet resetc C s h a d S( s Reset the cache completely.N( t cache( ( ( s /usr/lib64/python2.6/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˙˙˙˙( R t KeyErrort ost statt st_mtimeR t sort( t patht cached_mtimet listt mtime( ( s /usr/lib64/python2.6/dircache.pyR s c C s] xV t t | D]B } t i i t i i | | | o | | d | |