Skip to content

Commit

Permalink
Merge pull request #809 from bact/fix-pseudocode-indent
Browse files Browse the repository at this point in the history
Make pseudocode indents even - PackageVerificationCode
  • Loading branch information
zvr authored Aug 7, 2024
2 parents 4d47a01 + be5d33d commit 79b322a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions model/Core/Classes/PackageVerificationCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ Algorithm:
verificationcode = 0
filelist = templist = ""
for all files in the package {
if file is an "excludes" file, skip it /* exclude SPDX analysis file(s) */
else append templist with "algorithm(file)/n"
}
sort templist in ascending order by algorithm value
filelist = templist with "/n"s removed. /* ordered sequence of algorithm values with no separators */
if file is an "excludes" file, skip it /* exclude SPDX analysis file(s) */
else append templist with "algorithm(file)/n"
}

sort templist in ascending order by algorithm value

filelist = templist with "/n"s removed. /* ordered sequence of algorithm values with no separators */
hashValue = algorithm(filelist) /* Where algorithm(file) applies a hash algorithm on the contents of file and returns the result in lowercase hexadecimal digits. */
hashValue = algorithm(filelist) /* Where algorithm(file) applies a hash algorithm on the contents of file and returns the result in lowercase hexadecimal digits. */

Required sort order: '0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f' (ASCII order)
Required sort order: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' (ASCII order)

## Metadata

Expand Down

0 comments on commit 79b322a

Please sign in to comment.