Method
PhodavVirtualDirattach_real_child
since: 2.5
Declaration [src]
gboolean
phodav_virtual_dir_attach_real_child (
PhodavVirtualDir* parent,
GFile* child
)
Description [src]
If successful, child becomes a descendant of parent.
Keep in mind that the link is only unidirectional - child does not know about its parent.
That means that functions such as g_file_enumerate_children(), g_file_resolve_relative_path()
(used with parent) work as expected, but g_file_get_parent() (used with child) does not.
If you want to add a PhodavVirtualDir to parent, use phodav_virtual_dir_new_dir() instead.
Available since: 2.5
Parameters
child-
Type:
GFileA real file that should be linked to
parent.The data is owned by the caller of the method.