File module

file_get_canonical_path

procedure · 2 overloadsWindowsSource

The final path of an open file, with links followed, in a new string that the caller frees; "" when file is closed or the system cannot say. Windows spells it with the \\?\ prefix and \ separators.

file_get_canonical_path :: (file: File) -> string

Parameters

file: File

Returns

string
file_get_canonical_path :: (filepath: string) -> string

The final path of the file or directory filepath, with links followed; "" when it does not exist. See the overload for an open file.

Parameters

filepath: string

Returns

string

See also