Make file hashes more scalable

This commit is contained in:
Timo Ley 2022-06-25 22:14:43 +02:00
parent 2a3d340b20
commit 123f62e1c2
1 changed files with 9 additions and 3 deletions

View File

@ -7,7 +7,9 @@
"flags": [],
"maven": {},
"install": [],
"sha1": "somesha1checksum"
"hashes": {
"sha1": "somesha1checksum"
}
}
```
@ -41,9 +43,13 @@ The order in the array corresponds to the order in which the installation steps
This is an array of [flags](../concepts/flags.md) for this file. If this property is not present in a file object, the file will
inherit the [side flags](../concepts/flags.md#side-flags) from the [version](addon.md) and have the `required` flag set by default.
### sha1
### hashes
This is the sha1 checksum of the file. Although the checksum is optional, it is strongly recommended.
This is an object with checksums for this file. The object contains key-value-pairs where the key is the hash algorithm and the
value is the checksum.
Supported hash algorithms:
- `sha1`
### maven