ACC SHELL
Path : /usr/lib/python/ |
|
Current File : //usr/lib/python/dircache.pyc |
Ñò
nÄMc @ 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/lib/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/lib/python2.6/dircache.pyR 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 R t isdirt join( t headR t i( ( s /usr/lib/python2.6/dircache.pyR % s &(
t __doc__t warningsR R t __all__R R R R R ( ( ( s /usr/lib/python2.6/dircache.pyt <module> s
ACC SHELL 2018