dovecot-2.2: lib-fs: Added FS_PROPERTY_DIRECTORIES.

dovecot at dovecot.org dovecot at dovecot.org
Sat Dec 8 09:18:54 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/959afc4f76eb
changeset: 15456:959afc4f76eb
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Dec 08 09:18:43 2012 +0200
description:
lib-fs: Added FS_PROPERTY_DIRECTORIES.
This is a hint for fs API users if they should call fs_delete() for
directories.

diffstat:

 src/lib-fs/fs-api.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 67448d683720 -r 959afc4f76eb src/lib-fs/fs-api.h
--- a/src/lib-fs/fs-api.h	Fri Dec 07 05:53:53 2012 +0200
+++ b/src/lib-fs/fs-api.h	Sat Dec 08 09:18:43 2012 +0200
@@ -16,7 +16,10 @@
 	FS_PROPERTY_ITER	= 0x20,
 	/* Iteration always returns all of the files (instead of possibly
 	   slightly out of date view) */
-	FS_PROPERTY_RELIABLEITER= 0x40
+	FS_PROPERTY_RELIABLEITER= 0x40,
+	/* Backend uses directories, which aren't automatically deleted
+	   when its children are deleted. */
+	FS_PROPERTY_DIRECTORIES	= 0x80
 };
 
 enum fs_open_mode {


More information about the dovecot-cvs mailing list