get_uids


Description:

public bool get_uids (CacheDeletedFlag deleted_flag, out SList<string> out_uids, out SList<string>? out_revisions, Cancellable? cancellable = null) throws Error

Gets a list of unique object identifiers stored in the this, optionally together with their revisions.

The uids are not returned in any particular order, but the position between out_uids and out_revisions matches the same object.

Both out_uids and out_revisions contain newly allocated SList, which should be freed with g_slist_free_full (slist, g_free); when no longer needed.

Parameters:

this

an Cache

deleted_flag

one of CacheDeletedFlag enum

out_uids

a pointer to SList to store the found uid to

out_revisions

a pointer to SList to store the found revisions to, or null

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded. It doesn't necessarily mean that there was any object stored in the this.