Gio.File.prototype.get_child
function get_child(name: String): Gio.File {
// Gjs wrapper for g_file_get_child()
}
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 Gio.File that points to it. You can use this for instance to create that file.
This call does no blocking I/O.
- name
string containing the child's basename
- Returns
a Gio.File to a child specified by name. Free the returned object with GObject.Object.prototype.unref.