tools/perf/cli_tools/pinboard/pinboard.py
def DownloadFromCloudStorage(filepath):
  """Get the given file from cloud storage."""
  try:
    gsutil.Copy(
        posixpath.join(CLOUD_STORAGE_DIR, os.path.basename(filepath)), filepath)
    logging.info('Downloaded copy of %s from cloud storage.', filepath)
    return True
  except subprocess.CalledProcessError:
    logging.info('Failed to download copy of %s from cloud storage.', filepath)
    return False
Get the given file from cloud storage.
Get the given file from cloud storage.
Get the given file from cloud storage .
def DownloadFromCloudStorage(filepath):
  try:
    gsutil.Copy(
        posixpath.join(CLOUD_STORAGE_DIR, os.path.basename(filepath)), filepath)
    logging.info('Downloaded copy of %s from cloud storage.', filepath)
    return True
  except subprocess.CalledProcessError:
    logging.info('Failed to download copy of %s from cloud storage.', filepath)
    return False
def DownloadFromCloudStorage ( filepath ) : try : gsutil . Copy ( posixpath . join ( CLOUD_STORAGE_DIR , os . path . basename ( filepath ) ) , filepath ) logging . info ( 'Downloaded copy of %s from cloud storage.' , filepath ) return True except subprocess . CalledProcessError : logging . info ( 'Failed to download copy of %s from cloud storage.' , filepath ) return False
Get the given file from cloud storage.
Get the given file from cloud storage .
"""Get the given file from cloud storage."""
filepath