File.resolveRelativePath

Resolves a relative path for file to an absolute path.

This call does no blocking I/O.

If the relative_path is an absolute path name, the resolution is done absolutely (without taking file path as base).

interface File
resolveRelativePath
()

Parameters

relativePath string

a given relative path string

Return Value

Type: gio.file.File

a #GFile for the resolved path.