Gio.FileIOStream.get_etag

### Method

# Gio FileIOStreamget_etag

since: 2.22

#### Declaration [src]

    char*
    g_file_io_stream_get_etag (
      GFileIOStream* stream
    )

#### Description [src]

Gets the entity tag for the file when it has been written. This must be called after the stream has been written and closed, as the etag can change while writing.

Available since: 2.22

#### Return value

Type: `char*`

The entity tag for the stream.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.
The value is a NUL terminated UTF-8 string.