chore(users/edef): move to contrib
Change-Id: I1a6972fab8ada26917f29607fc401e376d634070
This commit is contained in:
parent
a7916624dc
commit
403d8fc897
55 changed files with 15 additions and 17 deletions
38
contrib/crunch-v2/protos/flatstore.proto
Normal file
38
contrib/crunch-v2/protos/flatstore.proto
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package snix.flatstore.v1;
|
||||
|
||||
message Path {
|
||||
bytes nar_hash = 1;
|
||||
|
||||
oneof node {
|
||||
DirectoryNode directory = 2;
|
||||
FileNode file = 3;
|
||||
SymlinkNode symlink = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message DirectoryNode {
|
||||
bytes name = 1;
|
||||
repeated DirectoryNode directories = 2;
|
||||
repeated FileNode files = 3;
|
||||
repeated SymlinkNode symlinks = 4;
|
||||
}
|
||||
|
||||
message FileNode {
|
||||
bytes name = 1;
|
||||
bytes hash = 2;
|
||||
repeated Chunk chunks = 3;
|
||||
bool executable = 4;
|
||||
}
|
||||
|
||||
message Chunk {
|
||||
bytes hash = 1;
|
||||
uint32 size = 2;
|
||||
uint32 size_compressed = 3;
|
||||
}
|
||||
|
||||
message SymlinkNode {
|
||||
bytes name = 1;
|
||||
bytes target = 2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue