doc: create a lock file schema

This commit is contained in:
Konrad Geletey 2024-08-22 15:47:58 +03:00
parent d057480522
commit 6a24c8d390
No known key found for this signature in database
GPG key ID: 862B98E2204889CE

View file

@ -166,3 +166,29 @@ Settings format is on Linux by address `$HOME/.config/wacli/wacfg.json`
} }
} }
``` ```
Packages installed stored into lock file in json format, by path `$HOME/.config/wacli/wa.lock`
```json
{
"fileVersion": 1,
"bins": {
"<tool_name>": {
integrity: "<sha256>",
source: "<source_url_downloaded>",
installPath: "<install_tool_path>",
alias?: "<name_of_alias_if_exist>",
version: "<version_downloaded>"
}
},
"ains": {
"<tool_name>": {
integrity: "<sha256>",
source: "<source_url_api>",
installPath: "<install_tool_path_schema>",
alias?: "<name_of_alias_if_exist>",
version: "<version_downloaded>"
}
}
}
```