aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/filesystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/filesystem.h')
-rw-r--r--src/lib/utils/filesystem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/utils/filesystem.h b/src/lib/utils/filesystem.h
index 4d6e2fe40..f105c7aeb 100644
--- a/src/lib/utils/filesystem.h
+++ b/src/lib/utils/filesystem.h
@@ -14,6 +14,16 @@
namespace Botan {
+/**
+* No_Filesystem_Access Exception
+*/
+class BOTAN_PUBLIC_API(2,0) No_Filesystem_Access final : public Exception
+ {
+ public:
+ No_Filesystem_Access() : Exception("No filesystem access enabled.")
+ {}
+ };
+
BOTAN_TEST_API std::vector<std::string> get_files_recursive(const std::string& dir);
}