Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066138
D277.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
450 B
Subscribers
None
D277.diff
View Options
diff --git a/swh/model/hashutil.py b/swh/model/hashutil.py
--- a/swh/model/hashutil.py
+++ b/swh/model/hashutil.py
@@ -198,7 +198,7 @@
ValueError if the git_type is unexpected.
"""
- git_object_types = {'blob', 'tree', 'commit', 'tag'}
+ git_object_types = {'blob', 'tree', 'commit', 'tag', 'snapshot'}
if git_type not in git_object_types:
raise ValueError('Unexpected git object type %s, expected one of %s' %
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 4 2024, 6:12 PM (9 w, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219745
Attached To
D277: Support snapshot identifiers in swh.model
Event Timeline
Log In to Comment