diff options
author | DrZlo13 <who.just.the.doctor@gmail.com> | 2021-09-15 14:27:53 +0300 |
---|---|---|
committer | DrZlo13 <who.just.the.doctor@gmail.com> | 2021-09-15 14:27:53 +0300 |
commit | 5d6125ae0d6229b4dfecc41d064f4f80f5a5e90a (patch) | |
tree | b1e30eb66f14756f0b92104daa99ad36518c04ed |
Storage: list0.0
-rw-r--r-- | flipper.proto | 2 | ||||
-rw-r--r-- | storage.proto | 18 |
2 files changed, 20 insertions, 0 deletions
diff --git a/flipper.proto b/flipper.proto new file mode 100644 index 0000000..8d84c0f --- /dev/null +++ b/flipper.proto @@ -0,0 +1,2 @@ +syntax = "proto3"; +import "storage.proto";
\ No newline at end of file diff --git a/storage.proto b/storage.proto new file mode 100644 index 0000000..c4b7aad --- /dev/null +++ b/storage.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +message StorageListRequest { + string path = 1; +} + +message StorageListAnswer { + enum FileType { + FILE = 0; + DIR = 1; + } + FileType type = 1; + string name = 2; + optional uint64 size = 3; +} + +message StorageListEOF { +}
\ No newline at end of file |