tlc.core.url_adapters.gcs_url_adapter
¶
An adapter for resolving reads/writes to URLs starting with gs://
Module Contents¶
Classes¶
Class |
Description |
---|---|
A directory entry for a GSUrlAdapter |
|
An adapter for resolving reads/writes to URLs starting with |
API¶
- class tlc.core.url_adapters.gcs_url_adapter.GSUrlAdapterDirEntry(ls_info: dict[str, Any])¶
Bases:
tlc.core.url_adapters.fsspec_url_adapter.FSSpecUrlAdapterDirEntry
A directory entry for a GSUrlAdapter
- mtime() datetime.datetime ¶
- class tlc.core.url_adapters.gcs_url_adapter.GCSUrlAdapter¶
Bases:
tlc.core.url_adapters.fsspec_url_adapter.FSSpecUrlAdapter
An adapter for resolving reads/writes to URLs starting with
gs://
- gs_scheme = None¶
- gs_protocol = None¶
- schemes() list[tlc.core.url.Scheme] ¶
- touch(url: tlc.core.url.Url) None ¶
Update the last modified timestamp of a file to the current time. Creates the file if it doesn’t exist.
- Parameters:
url – The URL of the file to touch