diff options
Diffstat (limited to 'zenstore/filecas.h')
| -rw-r--r-- | zenstore/filecas.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/zenstore/filecas.h b/zenstore/filecas.h index 06f35785b..f64c3061a 100644 --- a/zenstore/filecas.h +++ b/zenstore/filecas.h @@ -53,9 +53,13 @@ private: struct FileCasIndexEntry { + static const uint32_t kTombStone = 0x0000'0001; + + bool IsFlagSet(const uint32_t Flag) const { return (Flags & kTombStone) == Flag; } + IoHash Key; - uint32_t Pad = 0; - int64_t Size = 0; + uint32_t Flags = 0; + int64_t Size = 0; }; static_assert(sizeof(FileCasIndexEntry) == 32); |