diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-15 13:05:40 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-15 13:05:40 +0200 |
commit | 1127e07a2a6d6b3c0cbd342396e6c8af7ee54040 (patch) | |
tree | 1c21fe3da449094d0d7860fe88dc9d6ce26b183d /include | |
parent | a4c747472abc18e5fcb5a2e5caf7fe7ed1495027 (diff) | |
download | crawler-1127e07a2a6d6b3c0cbd342396e6c8af7ee54040.tar.gz crawler-1127e07a2a6d6b3c0cbd342396e6c8af7ee54040.tar.bz2 |
added a directory scanner (Linux for now)
Diffstat (limited to 'include')
-rw-r--r-- | include/util/FileUtils.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/util/FileUtils.hpp b/include/util/FileUtils.hpp new file mode 100644 index 0000000..a9526ec --- /dev/null +++ b/include/util/FileUtils.hpp @@ -0,0 +1,11 @@ +#ifndef __UTIL_FILE_UTILS_H +#define __UTIL_FILE_UTILS_H + +#include <string> +#include <vector> + +#include "util/UtilExportable.hpp" + +UTIL_DLL_VISIBLE std::vector<std::string> directory_entries( const std::string &dir, bool absolute = false, bool recursive = false ); + +#endif |