[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH v2 2/3] glep-0074: Specify the format of size and checksum fields
From: Michał Górny <mgorny () gentoo ! org>
Date: 2022-09-25 19:07:05
Message-ID: 20220925190706.14837-3-mgorny () gentoo ! org
[Download RAW message or body]
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
glep-0074.rst | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/glep-0074.rst b/glep-0074.rst
index 54bf216..16cbb67 100644
--- a/glep-0074.rst
+++ b/glep-0074.rst
@@ -191,6 +191,19 @@ The encoding can be used for other characters as well. In particular,
escaping non-printable characters might be desirable.
+Size and checksum fields
+------------------------
+
+The Manifest entries used to describe files list the file size in bytes
+and one or more checksums. The size is expressed as an unsigned decimal
+integer. The checksums are expressed using pairs of fields, with
+the first field in every pair specifying the hash name and the second
+field its value. The names of hashes and the encoding of their values
+are specified in the `checksum algorithms`_ section.
+
+It is invalid to specify a hash name without a value.
+
+
File verification
-----------------
--
2.37.3
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic