Shannon Booth
28307d0db6
LibCore: Add modified time to Resource
...
For now, all Resources are implemented with a modification time, but the
public API has been left as an Optional since abstractly, not all
resources will have a modification time.
2024-04-02 07:51:02 +02:00
Timothy Flynn
aa9387c76c
LibCore: Add a Resource method to create a file:// URL from a resource
2023-11-06 09:39:59 +01:00
Timothy Flynn
e9aa72ee98
LibCore: Remove [[nodiscard]] attribute from Resource implementations
...
This attribute is only needed on the declarations in the header.
2023-11-06 09:39:59 +01:00
Timothy Flynn
98a82565cd
LibCore: Do not return an Optional from Resource:::filesystem_path
...
This API never returns OptionalNone, and all callers already assume as
much.
2023-11-06 09:39:59 +01:00
Andrew Kaster
a4c7d9a374
LibCore: Add helper to load a possibly-relative path into a Resource
2023-10-29 13:12:28 -06:00
Andrew Kaster
0d417cd604
LibCore: Add Resource for platform agnostic application resource loading
...
The first implementation is simply raw files.
2023-10-17 11:02:01 -06:00