get_objects


Description:

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

Gets a list of objects stored in the this, optionally together with their revisions.

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

Both out_objects 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_objects

a pointer to SList to store the found objects 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.