aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.h')
-rw-r--r--src/database.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/database.h b/src/database.h
index 33f503652..9c50bb15e 100644
--- a/src/database.h
+++ b/src/database.h
@@ -50,6 +50,9 @@ db_finish(void);
struct directory *
db_get_root(void);
+/**
+ * Caller must lock the #db_mutex.
+ */
gcc_nonnull(1)
struct directory *
db_get_directory(const char *name);