Ejemplo n.º 1
0
def digital_object_components_files(client,
                                    request,
                                    system='archivesspace',
                                    record_id='',
                                    component_id=''):
    access_path = get_digital_object_component_path(record_id,
                                                    component_id,
                                                    system=system)
    return filesystem_views.arrange_contents(request, path=access_path + '/')
Ejemplo n.º 2
0
def access_arrange_contents(request, mapping):
    """
    Lists the files in the root of the SIP arrange directory associated with this record.
    """
    return filesystem_views.arrange_contents(request, path=mapping.arrange_path + "/")