diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-10-28 13:18:10 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-10-28 13:18:15 -0700 |
commit | 83d3ee0196af0b2c0b9bea1c945c794d4f84ae93 (patch) | |
tree | d936cc106529a3ff8f68ffa0d7bbb6d78f0888b0 /src/metadata_msg.proto | |
parent | cfc039aedb9acf4a67e316675f044aa765c3d7fc (diff) | |
download | geniza-83d3ee0196af0b2c0b9bea1c945c794d4f84ae93.tar.gz geniza-83d3ee0196af0b2c0b9bea1c945c794d4f84ae93.zip |
rename protobuf files/modules; add Node type
Also specify the protobuf syntax version (2)
Diffstat (limited to 'src/metadata_msg.proto')
-rw-r--r-- | src/metadata_msg.proto | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/metadata_msg.proto b/src/metadata_msg.proto deleted file mode 100644 index 68d1f59..0000000 --- a/src/metadata_msg.proto +++ /dev/null @@ -1,21 +0,0 @@ -// File copied from: https://github.com/mafintosh/hyperdrive/blob/master/lib/messages.js -// Copyright (c) 2015 Mathias Buus -// MIT License (MIT) - - -message Index { - required string type = 1; - optional bytes content = 2; -} - -message Stat { - required uint32 mode = 1; - optional uint32 uid = 2; - optional uint32 gid = 3; - optional uint64 size = 4; - optional uint64 blocks = 5; - optional uint64 offset = 6; - optional uint64 byteOffset = 7; - optional uint64 mtime = 8; - optional uint64 ctime = 9; -} |