HomeSoftware Heritage

browse: Handle snapshots whose branches target contents or directories

Description

browse: Handle snapshots whose branches target contents or directories

Previously swh-web was only supporting the browsing of snapshot branches
targeting revisions but we recently introduced new Software Heritage
loaders producing snapshots whose branches target contents or directories
but no revisions.

So add support to browse such snapshots as previously they were flagged as
empty when trying to display them.

Related to T4669