// // Created by slinky on 5/14/26. // #ifndef B_ENGINE_ASSETREGISTRY_H #define B_ENGINE_ASSETREGISTRY_H #include #include #include #include #include #include #include "AssetRecord.h" #include "uuid.h" namespace fs = std::filesystem; using Directory = fs::recursive_directory_iterator; using Path = fs::path; class AssetRegistry { public: static void read_source_folder(std::string_view _folder); static std::vector get_records(); static AssetRegistry* get_record(uuid_t uuid); private: static std::unordered_map> _registry; static bool does_meta_exist(const Path& path); static void generate_meta_file(const Path& path); }; #endif //B_ENGINE_ASSETREGISTRY_H