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.
File.getRelativePath
string getRelativePath(gio.file.File descendant)Gets the path for descendant relative to parent.
This call does no blocking I/O.
Parameters
descendant | input #GFile |
Returns
string with the relative path from