get_relative_path


Description:

public abstract string? get_relative_path (File descendant)

Gets the path for descendant relative to this.

This call does no blocking I/O.

Parameters:

this

input File

descendant

input File

Returns:

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




2022 vala-language.org