Class FileRegistry
Defined in File file-registry.h
Inheritance Relationships
Base Type
public CE::State::Singleton< FileRegistry >(Template Class Singleton)
Class Documentation
-
class FileRegistry : public CE::State::Singleton<FileRegistry>
Declaration:
finalPublic 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]]
-
FileRegistry() = default