//usr/lib64/lib64//lib64/lib64/python2.7/ó
ŮSec @ sr d Z d d l m Z e d d d [ d d l Z d d d d
g Z i 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
i a d S( s Reset the cache completely.N( t cache( ( ( s /usr/lib64/python2.7/dircache.pyR s c C s y t | \ } } t | =Wn t k
r; d g } } n Xt j | j } | | k rv t j | } | j 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.7/dircache.pyR s
c C s[ xT t t | D]@ } t j j t j j | | | r | | d | |