(app)
return sorted(files)
Return the app's source files, including the app json.
    Return format is a list of tuples where the first item in the tuple is a
    file name and the second is the file contents.
Return the app's source files, including the app json.
    Return format is a list of tuples where the first item in the tuple is a
    file name and the second is the file contents.
Return the app s source files including the app json . Return format is a list of tuples where the first item in the tuple is a file name and the second is the file contents .
def source_files(app):
    """
    Return the app's source files, including the app json.
    Return format is a list of tuples where the first item in the tuple is a
    file name and the second is the file contents.
    """
    if not app.copy_of:
        app.set_media_versions()
    files = download_index_files(app)
    app_json = json.dumps(
        app.to_json(), sort_keys=True, indent=4, separators=(',', ': ')
    )
    return sorted(files)
def source_files ( app ) : if not app . copy_of : app . set_media_versions ( ) files = download_index_files ( app ) app_json = json . dumps ( app . to_json ( ) , sort_keys = True , indent = 4 , separators = ( ',' , ': ' ) ) return sorted ( files )