Gio.FileInfo.prototype.get_name

function get_name(): String {
    // Gjs wrapper for g_file_info_get_name()
}
  

Gets the name for a file.

Returns

a string containing the file name.