From cecfd6a623e9fd280696c8e432c6c2f911eed0e5 Mon Sep 17 00:00:00 2001 From: "sergey.kitov" Date: Fri, 17 Feb 2023 18:06:07 +0200 Subject: [PATCH] lib-fs: Add fs metadata key for file size. --- src/lib-fs/fs-api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib-fs/fs-api.h b/src/lib-fs/fs-api.h index f69cc79c83..714cb53bc1 100644 --- a/src/lib-fs/fs-api.h +++ b/src/lib-fs/fs-api.h @@ -22,6 +22,8 @@ struct hash_method; backend may be something different, e.g. object ID. This allows the backend to still access the original path. */ #define FS_METADATA_ORIG_PATH FS_METADATA_INTERNAL_PREFIX"OrigPath" +/* Size of the file, this will allow to replace missing file with spaces */ +#define FS_METADATA_FILE_SIZE FS_METADATA_INTERNAL_PREFIX"Size" enum fs_properties { FS_PROPERTY_METADATA = 0x01, -- 2.47.3