| |
- Delete(bucket, remote_path)
- Exists(bucket, remote_path)
- FindGsutil()
- Return the gsutil executable path. If we can't find it, download it.
- Get(bucket, remote_path, local_path)
- GetHash(file_path)
- Calculates and returns the hash of the file at file_path.
- GetIfChanged(file_path, bucket=None)
- Gets the file at file_path if it has a hash file that doesn't match.
If the file is not in Cloud Storage, log a warning instead of raising an
exception. We assume that the user just hasn't uploaded the file yet.
Returns:
True if the binary was changed.
- Insert(bucket, remote_path, local_path, publicly_readable=False)
- List(bucket)
- Move(bucket1, bucket2, remote_path)
- SupportsProdaccess(gsutil_path)
|