File.getRelativePath

Gets the path for descendant relative to parent. This call does no blocking I/O.

class File
string
getRelativePath

Parameters

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

Meta