class_docstr: Defines a trait whose value must be a valid filesystem path.
class_docstr_tok: ["Defines","a","trait","whose","value","must","be","a","valid","filesystem","path","."]
docstr: Create the trait's general description.
docstr_tok: ["Create","the","trait","'s","general","description","."]
code: def info_text(self):
      """Create the trait's general description."""
      info_text = "a pathlike object or string"
      if any((self.exists, self._is_file, self._is_dir)):
          info_text += " representing a"
          if self.exists:
              info_text += "n existing"
          if self._is_file:
              info_text += " file"
          elif self._is_dir:
              info_text += " directory"
          else:
              info_text += " file or directory"
      return info_text
  
imports: from collections.abc import Sequence
  from traits import __version__
  import traits.api
  from traits.api import TraitType, Unicode
  from traits.trait_base import _Undefined
  from pathlib import Path
  from ...utils.filemanip import path_resolve
label_desc: Use image node_id 1 for calling the BasePath obj's underlying member method code with example usage: obj.info_text() and returns: info_text