diff options
author | edef <edef@unfathomable.blue> | 2022-10-27 20:31:34 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-10-27 20:31:34 +0000 |
commit | 1a7fcdb0cc6c070e90e51deee4ff5768a2513028 (patch) | |
tree | 5176b104b8c4d6eb5984f8a135500c924c51a3b0 /ripple | |
parent | 339435e0d7f5d59aef2395921cb50be302316ffb (diff) | |
download | unf-legacy-1a7fcdb0cc6c070e90e51deee4ff5768a2513028.tar.zst |
ripple/fossil: renumber size/executable
name/ref/size are numbered identically across FileNode & DirectoryNode, although the size field has different meanings. FileNode.size encodes size in bytes, whereas DirectoryNode.size encodes the number of transitive child nodes. This is a breaking format change, but the on-disk format is not yet considered stable. Change-Id: Ic9aa256d0fcd57ac08338c33047159332f5d657a
Diffstat (limited to 'ripple')
-rw-r--r-- | ripple/fossil/src/store.proto | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ripple/fossil/src/store.proto b/ripple/fossil/src/store.proto index e0e3e59..4ae930e 100644 --- a/ripple/fossil/src/store.proto +++ b/ripple/fossil/src/store.proto @@ -20,8 +20,8 @@ message DirectoryNode { message FileNode { string name = 1; bytes ref = 2; - bool executable = 3; - uint32 size = 4; + uint32 size = 3; + bool executable = 4; } message LinkNode { |