getctag_sync
Description:
public bool getctag_sync (string? uri, out string out_ctag, Cancellable? cancellable = null) throws Error
Issues a getctag property request for a collection identified by uri
, or, in case it's null
, on the URI defined in
associated Source.
The ctag is a collection tag, which changes whenever the collection changes (similar to etag). The getctag is an extension, thus the function can fail when the server doesn't support it.
Free the returned out_ctag
with g_free, when no longer needed.
Parameters:
this | |
uri |
URI to issue the request for, or |
out_ctag |
return location for the ctag |
cancellable |
optional Cancellable object, or |
Returns:
Whether succeeded. |