Class FileRegistry

Inheritance Relationships

Base Type

Class Documentation

class FileRegistry : public CE::State::Singleton<FileRegistry>

Declaration: final

Public Functions

FileRegistry() = default
void register_files(const std::vector<std::filesystem::path> &files)
void register_files(const FileRegistry &files)
std::vector<std::filesystem::path> get_files_named(std::string_view name) const

Declaration: [[nodiscard]]

std::optional<std::filesystem::path> get_file_named(std::string_view name) const

Declaration: [[nodiscard]]

std::optional<std::filesystem::path> get_file_at(const std::filesystem::path &path) const

Declaration: [[nodiscard]]