Function TRAP::FileSystem::Exists#

Function Documentation#

bool TRAP::FileSystem::Exists(const std::filesystem::path &path)#

Check if a file or folder exists. Prints a warning if the file or folder doesn’t exist.

Parameters:

path – Path to a folder or a file.

Returns:

True if file or folder exists. False if file or folder doesn’t exist or an error has occurred.