We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a872eb5 commit addb199Copy full SHA for addb199
1 file changed
tuf/api/metadata.py
@@ -1495,8 +1495,9 @@ def __init__(
1495
self.name_prefix = name_prefix
1496
1497
# Calculate the suffix_len value based on the total number of bins in
1498
- # hex. If bit_length = 8 then number_of_bins = 256 or 100 in hex
1499
- # and suffix_len = 3 meaning the third bin will have a suffix of "003"
+ # hex. If bit_length = 10 then number_of_bins = 1024 or bin names will
+ # have a suffix between "000" and "3ff" in hex and suffix_len will be 3
1500
+ # meaning the third bin will have a suffix of "003".
1501
self.number_of_bins = 2**bit_length
1502
# suffix_len is calculated based on "number_of_bins - 1" as the name
1503
# of the last bin contains the number "number_of_bins -1" as a suffix.
0 commit comments