Module storage_gcs

Source

Functionsยง

gcs_download_file
Download a file from GCS and return the local filename. The GCS path should be in the format gs://bucket_name/prefix.
gcs_get_file_update_time
Get the update time of a file in GCS. The GCS path should be in the format gs://bucket_name/prefix.
gcs_list_files
List all files in a GCS path. The GCS path should be in the format gs://bucket_name/prefix.
gcs_list_files_of_type
List all files in a GCS path with a specific suffix.
gcs_split_path
Split a GCS path into a bucket name and a prefix. The GCS path should be in the format gs://bucket_name/prefix.