• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This defines protocol for a simple server that lists files.
2//
3// See also the nanopb-specific options in fileproto.options.
4
5message ListFilesRequest {
6    optional string path = 1 [default = "/"];
7}
8
9message FileInfo {
10    required uint64 inode = 1;
11    required string name = 2;
12}
13
14message ListFilesResponse {
15    optional bool path_error = 1 [default = false];
16    repeated FileInfo file = 2;
17}
18
19