]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-fs: Update FS_METADATA_WRITE_FNAME comment
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 26 Apr 2018 15:23:54 +0000 (18:23 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 30 Apr 2018 13:03:56 +0000 (16:03 +0300)
src/lib-fs/fs-api.h

index 988d475f9a8e1d89c3e6e095d0cb48f82e7e33fd..7d4ebd2b17dd441ce42cece10bb4a853edbd15c5 100644 (file)
@@ -15,7 +15,8 @@ struct hash_method;
 #define FS_METADATA_OBJECTID FS_METADATA_INTERNAL_PREFIX"ObjectID"
 /* Calling this before fs_write_stream_finish() allows renaming the filename.
    This can be useful if you don't know the final filename before writing it
-   (e.g. filename contains the file size). */
+   (e.g. filename contains the file size). The given filename must include the
+   full path also. */
 #define FS_METADATA_WRITE_FNAME FS_METADATA_INTERNAL_PREFIX"WriteFilename"
 /* Original path of the file. The path that's eventually visible to a fs
    backend may be something different, e.g. object ID. This allows the backend