1 // This defines protocol for a simple server that lists files.
3 // See also the nanopb-specific options in fileproto.options.
5 message ListFilesRequest {
6 optional string path = 1 [default = "/"];
10 required uint64 inode = 1;
11 required string name = 2;
14 message ListFilesResponse {
15 optional bool path_error = 1 [default = false];
16 repeated FileInfo file = 2;