FileIF.getRelativePath

Gets the path for @descendant relative to @parent.

This call does no blocking I/O.

interface FileIF
string
getRelativePath

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