#ifndef SIBS_FILEUTIL_HPP #define SIBS_FILEUTIL_HPP #include "../external/tinydir.h" #include "Result.hpp" #include namespace sibs { using FileWalkCallbackFunc = std::function; enum class FileType { FILE_NOT_FOUND, REGULAR, DIRECTORY }; FileType getFileType(const char *path); void walkDirectory(const char *directory, FileWalkCallbackFunc callbackFunc); Result getFileContent(const char *filepath); } #endif //SIBS_FILEUTIL_HPP