FileT.getRelativePath

Gets the path for descendant relative to parent.

This call does no blocking I/O.

template FileT()
override
string
getRelativePath
(
gio.file.File descendant
)

Parameters

descendant gio.file.File

input #GFile

Return Value

Type: string

string with the relative path from descendant to parent, or null if descendant doesn't have parent as prefix. The returned string should be freed with glib.global.gfree when no longer needed.