Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ getAssetRevision()

uint64_t Flint::FileSystem::getAssetRevision ( const std::string & path) const
overridevirtual

Return the file's last-write-time tick count as a revision.

Compare for equality only; the value is not ordered — restoring a backup can move it backward.

Parameters
pathAsset path relative to the root directory.
Returns
Tick count of last_write_time, or 0 if the path is invalid, absent, not a regular file, or a filesystem error occurs.

Implements Flint::IAssetLoader.