Gio.Drive.prototype.get_identifier

function get_identifier(kind: String): String {
    // Gjs wrapper for g_drive_get_identifier()
}
  

Gets the identifier of the given kind for drive.

kind

the kind of identifier to return

Returns

a newly allocated string containing the requested identfier, or null if the Gio.Drive doesn't have this kind of identifier.