github.com/pachyderm/pachyderm@v1.13.4/src/server/pkg/storage/fileset/index/index.proto (about)

     1  syntax = "proto3";
     2  
     3  package index;
     4  option go_package = "github.com/pachyderm/pachyderm/src/server/pkg/storage/fileset/index";
     5  
     6  import "server/pkg/storage/chunk/chunk.proto";
     7  
     8  // Index stores an index to and metadata about a file.
     9  message Index {
    10    string path = 1;
    11    Range range = 2;
    12    File file = 3;
    13  }
    14  
    15  message Range {
    16    int64 offset = 1;
    17    string last_path = 2;
    18    chunk.DataRef chunk_ref = 3;
    19  }
    20  
    21  message File {
    22    repeated Part parts = 1;
    23    repeated chunk.DataRef data_refs = 2;
    24  }
    25  
    26  message Part {
    27    string tag = 1;
    28    int64 size_bytes = 2;
    29    repeated chunk.DataRef data_refs = 3;
    30  }