File.getChild

gio.file.File getChild(string name)

Gets a child of file with basename equal to name.

Note that the file with that specific name might not exist, but you can still have a #GFile that points to it. You can use this for instance to create that file.

This call does no blocking I/O.

Parameters

namestring containing the child's basename

Returns

a #GFile to a child specified by name.

Free the returned object with [gobject.object.ObjectWrap.unref].