aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/directory.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c
index 27652e3db..495173fdd 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -336,6 +336,11 @@ int updateInDirectory(Directory * directory, char * shortname, char * name) {
return 0;
}
+/* return values:
+ -1 -> error
+ 0 -> no error, but nothing removed
+ 1 -> no error, and stuff removed
+ */
int removeDeletedFromDirectory(Directory * directory) {
DIR * dir;
char cwd[2];