diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-05-21 10:35:15 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-05-30 17:22:18 +0200 |
commit | e2d48ba3a0909f34afcf286ece339aa6a426678c (patch) | |
tree | 9f88af556765226f04dfe858e938bcce5ea9310f /src/linux/ogOperations.py | |
parent | 03d33d4fa91c02c4fbaca3d1ed4bb9850124ed0f (diff) |
live: add cache contents to the /refresh payload
Add the list of images in the client's cache partition in the
payload sent to the server.
The information sent is a list of {image_name, img_size, checksum}
elements where img_size is the size of the respective image in bytes.
Resquest response structure:
{
...
'cache': [
{'name': 'windows.img', 'size': 2432370213, checksum: '5d4dcc677bc19f40a647d0002f4ade90'},
{'name': 'linux.img', 'size': 243234534213, checksum: '3eb22f888f88a55ad954f55644e1192e'}
]
...
}
Diffstat (limited to 'src/linux/ogOperations.py')
0 files changed, 0 insertions, 0 deletions