mercurial/pathutil.py
changeset 49893 5f664401dd03
parent 49892 c7624b1ac8b4
child 49906 15175774e1c5
equal deleted inserted replaced
49892:c7624b1ac8b4 49893:5f664401dd03
   127                     break
   127                     break
   128 
   128 
   129         if self._cached:
   129         if self._cached:
   130             self.audited.add(path)
   130             self.audited.add(path)
   131 
   131 
   132     def _checkfs_exists(self, prefix, path):
   132     def _checkfs_exists(self, prefix: bytes, path: bytes) -> bool:
   133         # type: (bytes, bytes) -> bool
       
   134         """raise exception if a file system backed check fails.
   133         """raise exception if a file system backed check fails.
   135 
   134 
   136         Return a bool that indicates that the directory (or file) exists."""
   135         Return a bool that indicates that the directory (or file) exists."""
   137         curpath = os.path.join(self.root, prefix)
   136         curpath = os.path.join(self.root, prefix)
   138         try:
   137         try: