chrome/test/data/android/upload_download_utils.py
def _get_files_to_delete(directory, filter):
  """Returns a list of local files to delete.

  Args:
    directory: A local disk directory.
    filter: A method to filter target files inside the directory.
  """
  files_to_delete = []
  for f in os.listdir(directory):
    if not filter(f):
      continue
    sha1_path = os.path.join(directory, f + '.sha1')
    if not os.path.exists(sha1_path):
      files_to_delete.append(os.path.join(directory, f))
  return files_to_delete
Returns a list of local files to delete.

  Args:
    directory: A local disk directory.
    filter: A method to filter target files inside the directory.
  
Returns a list of local files to delete.
Returns a list of local files to delete .
def _get_files_to_delete(directory, filter):
  files_to_delete = []
  for f in os.listdir(directory):
    if not filter(f):
      continue
    sha1_path = os.path.join(directory, f + '.sha1')
    if not os.path.exists(sha1_path):
      files_to_delete.append(os.path.join(directory, f))
  return files_to_delete
def _get_files_to_delete ( directory , filter ) : files_to_delete = [ ] for f in os . listdir ( directory ) : if not filter ( f ) : continue sha1_path = os . path . join ( directory , f + '.sha1' ) if not os . path . exists ( sha1_path ) : files_to_delete . append ( os . path . join ( directory , f ) ) return files_to_delete
Returns a list of local files to delete.
Returns a list of local files to delete .
"""Returns a list of local files to delete.

  Args:
    directory: A local disk directory.
    filter: A method to filter target files inside the directory.
  """
directory
A local disk directory.
A local disk directory .
filter
A method to filter target files inside the directory.
A method to filter target files inside the directory .