swh.web.browse.views.directory module#

swh.web.browse.views.directory.directory_browse(request: HttpRequest, sha1_git: str) 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: HttpRequest, sha1_git: str, path: str) 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)/