Function TRAP::FileSystem::ToAbsolutePath#

Function Documentation#

TRAP::Optional<std::filesystem::path> TRAP::FileSystem::ToAbsolutePath(const std::filesystem::path &p)#

Converts a path to an absolute path.

Parameters:

p – Path to convert.

Returns:

Absolute path on success, empty optional otherwise.