Line | Count | Source (jump to first uncovered line) |
1 | /* | |
2 | * (C) 2015 Jack Lloyd | |
3 | * (C) 2015 Simon Warta (Kullo GmbH) | |
4 | * | |
5 | * Botan is released under the Simplified BSD License (see license.txt) | |
6 | */ | |
7 | ||
8 | #ifndef BOTAN_UTIL_FILESYSTEM_H_ | |
9 | #define BOTAN_UTIL_FILESYSTEM_H_ | |
10 | ||
11 | #include <botan/exceptn.h> | |
12 | #include <string> | |
13 | #include <vector> | |
14 | ||
15 | namespace Botan { | |
16 | ||
17 | /** | |
18 | * No_Filesystem_Access Exception | |
19 | */ | |
20 | class No_Filesystem_Access final : public Exception { | |
21 | public: | |
22 | 0 | No_Filesystem_Access() : Exception("No filesystem access enabled.") {} |
23 | }; | |
24 | ||
25 | BOTAN_TEST_API bool has_filesystem_impl(); | |
26 | ||
27 | BOTAN_TEST_API std::vector<std::string> get_files_recursive(std::string_view dir); | |
28 | ||
29 | } // namespace Botan | |
30 | ||
31 | #endif |