Function TRAP::FileSystem::GetLastWriteTime#

Function Documentation#

TRAP::Optional<std::filesystem::file_time_type> TRAP::FileSystem::GetLastWriteTime(const std::filesystem::path &path)#

Get the last write time of a file or folder.

Parameters:

path – Path to a file or folder.

Returns:

Last write time of the file or folder. Empty optional if an error has occurred.