Check whether a file path exists. Args: filepath (str or Path): Path to be checked whether exists. Returns: bool: Return ``True`` if ``filepath`` exists, ``False`` otherwise.
(self, filepath: Union[str, Path])
| 1065 | self.client.remove(filepath) |
| 1066 | |
| 1067 | def exists(self, filepath: Union[str, Path]) -> bool: |
| 1068 | """Check whether a file path exists. |
| 1069 | |
| 1070 | Args: |
| 1071 | filepath (str or Path): Path to be checked whether exists. |
| 1072 | |
| 1073 | Returns: |
| 1074 | bool: Return ``True`` if ``filepath`` exists, ``False`` otherwise. |
| 1075 | """ |
| 1076 | return self.client.exists(filepath) |
| 1077 | |
| 1078 | def isdir(self, filepath: Union[str, Path]) -> bool: |
| 1079 | """Check whether a file path is a directory. |
no outgoing calls
no test coverage detected