Lines Matching refs:DirEntry
2122 Return an iterator of :class:`os.DirEntry` objects corresponding to the
2129 attribute information, because :class:`os.DirEntry` objects expose this
2131 All :class:`os.DirEntry` methods may perform a system call, but
2132 :func:`~os.DirEntry.is_dir` and :func:`~os.DirEntry.is_file` usually only
2133 require a system call for symbolic links; :func:`os.DirEntry.stat`
2139 the type of the :attr:`~os.DirEntry.name` and :attr:`~os.DirEntry.path`
2140 attributes of each :class:`os.DirEntry` will be ``bytes``; in all other
2196 .. class:: DirEntry
2203 is made, the ``os.DirEntry`` object will cache the result.
2205 ``os.DirEntry`` instances are not intended to be stored in long-lived data
2210 Because the ``os.DirEntry`` methods can make operating system calls, they may
2213 ``os.DirEntry`` methods and handle as appropriate.
2215 To be directly usable as a :term:`path-like object`, ``os.DirEntry``
2218 Attributes and methods on a ``os.DirEntry`` instance are as follows:
2246 The result is cached on the ``os.DirEntry`` object. Use
2263 The result is cached on the ``os.DirEntry`` object, with a separate cache
2287 The result is cached on the ``os.DirEntry`` object. Caching, system calls
2288 made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`.
2296 The result is cached on the ``os.DirEntry`` object. Call
2321 The result is cached on the ``os.DirEntry`` object, with a separate cache
2326 and methods of ``os.DirEntry`` and of :class:`pathlib.Path`. In