Gio.File.prototype.resolve_relative_path

function resolve_relative_path(relative_path: String): Gio.File {
    // Gjs wrapper for g_file_resolve_relative_path()
}
  

Resolves a relative path for file to an absolute path.

This call does no blocking I/O.

relative_path

a given relative path string

Returns

Gio.File to the resolved path. null if relative_path is null or if file is invalid. Free the returned object with GObject.Object.prototype.unref.