FileT.getRelativePath

Gets the path for @descendant relative to @parent.

This call does no blocking I/O.

template FileT(TStruct)
string
getRelativePath
(
FileIF descendant
)

Parameters

descendant FileIF

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 g_free() when no longer needed.

Meta