swh.web.browse.views.directory module

swh.web.browse.views.directory.directory_browse(request: django.http.request.HttpRequest, sha1_git: str) django.http.response.HttpResponse[source]

Django view for browsing the content of a directory identified by its sha1_git value.

The url that points to it is GET /browse/directory/(sha1_git)/

swh.web.browse.views.directory.directory_browse_legacy(request: django.http.request.HttpRequest, sha1_git: str, path: str) django.http.response.HttpResponse[source]

Django view for browsing the content of a directory identified by its sha1_git value.

The url that points to it is GET /browse/directory/(sha1_git)/(path)/