// FileSystem based on libphyfs based on // https://github.com/TurtleP/3ds-examples/blob/fs/physfs/fs/physfs/include/filesystem.h #pragma once #include #include namespace RenderD7 { namespace FileSystem { /// @brief A Directory Entry struct Entry { /// @brief Patf of The Entry std::string path; /// @brief Name of The Entry std::string name; /// @brief Directory or File bool dir = false; }; /// @brief Gets All Entrys of A Directory into a Vector /// @param path The Path of the Directory /// @return The Vector of found Entrys std::vector GetDirContent(std::string path); } // namespace FileSystem } // namespace RenderD7