Gio.FileInfo.prototype.get_etag

function get_etag(): String {
    // Gjs wrapper for g_file_info_get_etag()
}
  

Gets the [entity tag][gfile-etag] for a given Gio.FileInfo. See %G_FILE_ATTRIBUTE_ETAG_VALUE.

Returns

a string containing the value of the "etag:value" attribute.