diff options
author | Sergey Gavrilov <who.just.the.doctor@gmail.com> | 2023-08-09 00:15:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 00:15:03 +0300 |
commit | 7e011a95863716e72e7c6b5d552bca241d688304 (patch) | |
tree | d8c247fd73ee957d6e0ef382d41d25ab18cf025e | |
parent | 08a907d95733600becc41c0602ef5ee4c4baf782 (diff) |
Storage, ListRequest: md5sum calculation (#45)0.19
* Storage, ListRequest: md5sum calculation
* Storage options: File.md5sum size
-rw-r--r-- | Changelog | 4 | ||||
-rw-r--r-- | storage.options | 1 | ||||
-rw-r--r-- | storage.proto | 2 |
3 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,9 @@ # Changelog +## [0.19] +### Added +- Storage ListRequest message now supports md5sum calculation for each file + ## [0.18] ### Added - Loader is now able to load apps from SD card diff --git a/storage.options b/storage.options index 2bbb48d..1031259 100644 --- a/storage.options +++ b/storage.options @@ -19,5 +19,6 @@ PB_Storage.ListResponse.file max_count:8 // not affected by nanopb, so server & client should keep in mind these max values PB_Storage.File.data max_size:512 PB_Storage.Md5sumResponse.md5sum max_length:32 +PB_Storage.File.md5sum max_length:32 PB_Storage.*.path max_length:255 diff --git a/storage.proto b/storage.proto index 286bd3a..d9e7349 100644 --- a/storage.proto +++ b/storage.proto @@ -12,6 +12,7 @@ message File { string name = 2; uint32 size = 3; bytes data = 4; + string md5sum = 5; } message InfoRequest { @@ -41,6 +42,7 @@ message StatResponse { message ListRequest { string path = 1; + bool include_md5 = 2; } message ListResponse { |