SushiEngine::Database::AssetRegistry
ensure_id
std::optional< AssetId > ensure_id(const std::string &path) constParameters
| Name | Type |
|---|---|
path | const std::string & |
Returns
std::optional< AssetId >
Description
Ensures a tracked file has a valid .meta and returns its id.
Precondition
No other thread calls this registry at the same time.
See also
database/README.md

