exists_sync
Checks if a file or directory exists at the specified path in a synchronous manner. It returns True if the path exists, and False otherwise.
def exists_sync(
path: str,
kwargs: Any
) - > bool
Checks if a file or directory exists at the specified path. This function is used to verify the presence of a resource before attempting further operations.
Parameters
| Name | Type | Description |
|---|---|---|
| path | str | The file system path to check for existence. |
| kwargs | Any | Additional keyword arguments passed to the underlying file system for path resolution or authentication. |
Returns
| Type | Description |
|---|---|
bool | True if the path exists, False otherwise. |