From 1a7fcdb0cc6c070e90e51deee4ff5768a2513028 Mon Sep 17 00:00:00 2001 From: edef Date: Thu, 27 Oct 2022 20:31:34 +0000 Subject: 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 --- ripple/fossil/src/store.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ripple/fossil/src') 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 { -- cgit 1.4.1