aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fs/storagedir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/fs/storagedir.c')
-rw-r--r--src/lib/fs/storagedir.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/fs/storagedir.c b/src/lib/fs/storagedir.c
index d013e4550d..1cda2374d8 100644
--- a/src/lib/fs/storagedir.c
+++ b/src/lib/fs/storagedir.c
@@ -1,6 +1,17 @@
/* Copyright (c) 2017-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+/**
+ * \file storagedir.c
+ *
+ * \brief An abstraction for a directory full of similar files.
+ *
+ * Storagedirs are used by our consensus cache code, and may someday also get
+ * used for unparseable objects. A large part of the need for this type is to
+ * work around the limitations in our sandbox code, where all filenames need
+ * to be registered in advance.
+ **/
+
#include "lib/fs/storagedir.h"
#include "lib/container/smartlist.h"