#ifndef FILESYSTEM_H #define FILESYSTEM_H 1 #include #include #include #include struct file_data { std::vector data; }; class Filesystem { public: Filesystem() { } ~Filesystem() { } bool AddSingleFile(std::string path, std::string root); bool Scan(std::string root = "./wwwroot"); bool Scan(std::string root, std::vector extensions, bool exclude_extensions = false); const std::unordered_map & GetFiles() const; private: std::unordered_map m_Files; }; #endif