tools/binary_size/libsupersize/upload_html_viewer.py
def _CopyStaticFiles(project_static_dir):
  """Copy over static files from the static directory."""
  static_files = os.path.join(os.path.dirname(__file__), 'static')
  shutil.copytree(static_files, project_static_dir)
  if not all(
      os.path.exists(os.path.join(static_files, f)) for f in CASPIAN_FILES):
    print('Some caspian files do not exist in ({}). Downloading *all* caspian '
          'files from currently deployed instance.'.format(static_files))
    _DownloadCaspianFiles(project_static_dir)
Copy over static files from the static directory.
Copy over static files from the static directory.
Copy over static files from the static directory .
def _CopyStaticFiles(project_static_dir):
  static_files = os.path.join(os.path.dirname(__file__), 'static')
  shutil.copytree(static_files, project_static_dir)
  if not all(
      os.path.exists(os.path.join(static_files, f)) for f in CASPIAN_FILES):
    print('Some caspian files do not exist in ({}). Downloading *all* caspian '
          'files from currently deployed instance.'.format(static_files))
    _DownloadCaspianFiles(project_static_dir)
def _CopyStaticFiles ( project_static_dir ) : static_files = os . path . join ( os . path . dirname ( __file__ ) , 'static' ) shutil . copytree ( static_files , project_static_dir ) if not all ( os . path . exists ( os . path . join ( static_files , f ) ) for f in CASPIAN_FILES ) : print ( 'Some caspian files do not exist in ({}). Downloading *all* caspian ' 'files from currently deployed instance.' . format ( static_files ) ) _DownloadCaspianFiles ( project_static_dir )
Copy over static files from the static directory.
Copy over static files from the static directory .
"""Copy over static files from the static directory."""
project_static_dir