Back to FabImage Library website

You are here: Start » Function Reference » System » File System » ConvertPathToAbsolute

ConvertPathToAbsolute


Header: STD.h
Namespace: fil
Module: FoundationLite

Makes the path absolute, inStartPath + inPath

Syntax

void fil::ConvertPathToAbsolute
(
	const ftl::String& inPath,
	const ftl::Optional<ftl::Directory> inStartPath,
	ftl::String& outPath
)

Parameters

Name Type Default Description
Input value inPath const String& relative path
Input value inStartPath const Optional<Directory> NIL starting path, by default the path of the project or where the program was executed in case of FIL
Output value outPath String& the resulting absolute path