mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 09:49:36 +01:00
nlohmann::json instance and JSON Schema for ContentAddress
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
60f9489b83
commit
91b69e9e70
18 changed files with 242 additions and 37 deletions
8
src/libstore-tests/data/content-address/nar.json
Normal file
8
src/libstore-tests/data/content-address/nar.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"hash": {
|
||||
"algorithm": "sha256",
|
||||
"format": "base64",
|
||||
"hash": "9vLqj0XYoFfJVmoz+ZR02i5camYE1zYSFlDicwxvsKM="
|
||||
},
|
||||
"method": "nar"
|
||||
}
|
||||
8
src/libstore-tests/data/content-address/text.json
Normal file
8
src/libstore-tests/data/content-address/text.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"hash": {
|
||||
"algorithm": "sha256",
|
||||
"format": "base64",
|
||||
"hash": "8OTC92xYkW7CWPJGhRvqCR0U1CR6L8PhhpRGGxgW4Ts="
|
||||
},
|
||||
"method": "text"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue