summaryrefslogtreecommitdiff
path: root/settings.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-11-24 22:31:59 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2015-09-02 00:12:01 +0200
commitb6f60de37d172789f60dee0050e5bcc2beb4260d (patch)
treed4c0e6587d3c5f00f19737fd93c36f1fa8ebd9ea /settings.h
parent5cdbdd2ccd5c909c49d843ab176a4d35b2e308a7 (diff)
Add support for deleting directories with -a -E.
This is analagous to the -e option to create empty directories. It simply removes them when they are not present in the metadata. Signed-off-by: Przemyslaw Pawelczyk <przemoc@gmail.com>
Diffstat (limited to 'settings.h')
-rw-r--r--settings.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/settings.h b/settings.h
index 75489b7..7d64a09 100644
--- a/settings.h
+++ b/settings.h
@@ -22,10 +22,11 @@
/* Data structure to hold metastore settings */
struct metasettings {
- char *metafile; /* path to the file containing the metadata */
- bool do_mtime; /* should mtimes be corrected? */
- bool do_emptydirs; /* should empty dirs be recreated? */
- bool do_git; /* should .git dirs be processed? */
+ char *metafile; /* path to the file containing the metadata */
+ bool do_mtime; /* should mtimes be corrected? */
+ bool do_emptydirs; /* should empty dirs be recreated? */
+ bool do_removeemptydirs; /* should new empty dirs be removed? */
+ bool do_git; /* should .git dirs be processed? */
};
/* Convenient typedef for immutable settings */