Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9348172
D1816.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
241 B
Subscribers
None
D1816.diff
View Options
diff --git a/swh/model/model.py b/swh/model/model.py
--- a/swh/model/model.py
+++ b/swh/model/model.py
@@ -12,6 +12,8 @@
from .identifiers import normalize_timestamp
+SHA1_SIZE = 20
+
# TODO: Limit this to 20 bytes
Sha1Git = bytes
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 6:15 PM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224832
Attached To
D1816: Add a SHA1_SIZE constant for use by other packages.
Event Timeline
Log In to Comment