From: sergey.kitov Date: Fri, 17 Feb 2023 16:06:07 +0000 (+0200) Subject: lib-fs: Add fs metadata key for file size. X-Git-Tag: 2.4.0~2808 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cecfd6a623e9fd280696c8e432c6c2f911eed0e5;p=thirdparty%2Fdovecot%2Fcore.git lib-fs: Add fs metadata key for file size. --- 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,