FileInfo.getEtag

string getEtag()

Gets the entity tag for a given #GFileInfo. See [gio.types.FILE_ATTRIBUTE_ETAG_VALUE].

It is an error to call this if the #GFileInfo does not contain [gio.types.FILE_ATTRIBUTE_ETAG_VALUE].

Returns

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