class_docstr: The :class:`.TreeEntry` class contains information about a file-system
  entry.
class_docstr_tok: ["The",":","class",":","`",".TreeEntry","`","class","contains","information","about","a","file-system","entry","."]
docstr: Initialize the :class:`.TreeEntry` instance.
  
  *name* (:class:`str`) is the base name of the entry.
  
  *path* (:class:`str`) is the relative path of the entry.
  
  *lstat* (:class:`~os.stat_result`) is the stat result of the direct
  entry.
  
  *stat* (:class:`~os.stat_result`) is the stat result of the entry,
  potentially linked.
docstr_tok: ["Initialize","the",":","class",":","`",".TreeEntry","`","instance",".","*","name","*","(",":","class",":","`","str","`",")","is","the","base","name","of","the","entry",".","*","path","*","(",":","class",":","`","str","`",")","is","the","relative","path","of","the","entry",".","*","lstat","*","(",":","class",":","`","~os.stat_result","`",")","is","the","stat","result","of","the","direct","entry",".","*","stat","*","(",":","class",":","`","~os.stat_result","`",")","is","the","stat","result","of","the","entry",",","potentially","linked","."]
code: def __init__(self, name, path, lstat, stat):
      """
      Initialize the :class:`.TreeEntry` instance.
  
      *name* (:class:`str`) is the base name of the entry.
  
      *path* (:class:`str`) is the relative path of the entry.
  
      *lstat* (:class:`~os.stat_result`) is the stat result of the direct
      entry.
  
      *stat* (:class:`~os.stat_result`) is the stat result of the entry,
      potentially linked.
      """
  
      self._lstat = lstat
      """
  		*_lstat* (:class:`~os.stat_result`) is the stat result of the direct
  		entry.
  		"""
  
      self.name = name
      """
  		*name* (:class:`str`) is the base name of the entry.
  		"""
  
      self.path = path
      """
  		*path* (:class:`str`) is the path of the entry.
  		"""
  
      self._stat = stat
      """
  		*_stat* (:class:`~os.stat_result`) is the stat result of the linked
  		entry.
  		"""
  
imports: import os
  import os.path
  import posixpath
  import stat
  from .compat import Collection, Iterable, string_types, unicode
label_desc: Use image node_id 1 to create a new TreeEntry object from inherited base classes: object with example: obj = TreeEntry(name, path, lstat, stat)