third_party/webxr_test_pages/update_bucket.py
def write_to_bucket(cr_position):
  """Copies the test directory to Cloud Storage"""
  destination = BUCKET + '/r' + cr_position
  run_modify('gsutil.py', '-m', 'rsync', '-x', 'media', '-r', './' + TEST_SUBDIR,
          destination)

  # The copy used mime types based on system-local mappings which may be
  # misconfigured. Sanity check and fix if needed.
  check_and_fix_content_types(destination)
Copies the test directory to Cloud Storage
Copies the test directory to Cloud Storage
Copies the test directory to Cloud Storage
def write_to_bucket(cr_position):
  destination = BUCKET + '/r' + cr_position
  run_modify('gsutil.py', '-m', 'rsync', '-x', 'media', '-r', './' + TEST_SUBDIR,
          destination)
  check_and_fix_content_types(destination)
def write_to_bucket ( cr_position ) : destination = BUCKET + '/r' + cr_position run_modify ( 'gsutil.py' , '-m' , 'rsync' , '-x' , 'media' , '-r' , './' + TEST_SUBDIR , destination ) check_and_fix_content_types ( destination )
Copies the test directory to Cloud Storage
Copies the test directory to Cloud Storage
"""Copies the test directory to Cloud Storage""" # The copy used mime types based on system-local mappings which may be # misconfigured. Sanity check and fix if needed.
cr_position