Function TRAP::FileSystem::IsFile#

Function Documentation#

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

Get whether the path p leads to a regular file or not.

Note

False is returned if path leads to a symlink or any other non-regular file type.

Parameters:

p – Path to check.

Returns:

True if path leads to regular file, false otherwise.