tlcurl.url_adapters.file_url_adapter
¶
An adapter for resolving reads/writes to filepath URLs
Module Contents¶
Classes¶
Class |
Description |
---|---|
An adapter for resolving reads/writes to filepath URLs |
Data¶
Data |
Description |
---|---|
API¶
- logger = getLogger(...)¶
- WINDOWS = None¶
- RAISING_FILE_URL_NAME = \x00¶
- class FileUrlAdapter¶
Bases:
tlcurl.url_adapter.UrlAdapterAsyncFromSync
An adapter for resolving reads/writes to filepath URLs
- file_scheme = None¶
- file_protocol = None¶
- stat(
- url: Url,
Get status information for a file/directory.
- Parameters:
url – The URL of the file/directory to get status for
- Returns:
A directory entry object containing file information
- Raises:
FileNotFoundError if the file doesn’t exist
- list_dir(
- url: Url,