Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9345497
D2660.id9512.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1005 B
Subscribers
None
D2660.id9512.diff
View Options
diff --git a/swh/web/browse/views/directory.py b/swh/web/browse/views/directory.py
--- a/swh/web/browse/views/directory.py
+++ b/swh/web/browse/views/directory.py
@@ -129,8 +129,10 @@
'revision_id': None
}
- swh_ids = get_swh_persistent_ids([{'type': 'directory',
- 'id': sha1_git}])
+ swh_objects = [{'type': 'directory', 'id': sha1_git}]
+
+ swh_ids = get_swh_persistent_ids(
+ swh_objects=swh_objects, snapshot_context=snapshot_context)
heading = 'Directory - %s' % sha1_git
if breadcrumbs:
@@ -155,7 +157,7 @@
'swh_ids': swh_ids})
-@browse_route(r'directory/resolve/content-path/(?P<sha1_git>[0-9a-f]+)/(?P<path>.+)/', # noqa
+@browse_route(r'directory/resolve/content-path/(?P<sha1_git>[0-9a-f]+)/(?P<path>.+)/', # noqa
view_name='browse-directory-resolve-content-path',
checksum_args=['sha1_git'])
def _directory_resolve_content_path(request, sha1_git, path):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 3:22 PM (6 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3225843
Attached To
D2660: Adding 'Add Origin info' checkbox which was missing
Event Timeline
Log In to Comment