list_sync
Description:
public bool list_sync (string? uri, string depth, uint32 flags, out SList<WebDAVResource> out_resources, Cancellable? cancellable = null) throws Error
Lists content of the uri
, or, in case it's null
, of the URI defined in associated
Source, which should point to a collection.
The flags
influences which properties are read for the resources.
The out_resources
is in no particular order.
Free the returned out_resources
with g_slist_free_full (resources, e_webdav_resource_free); when no longer needed.
Parameters:
this | |
uri |
URI to issue the request for, or |
depth |
requested depth, can be one of WEBDAV_DEPTH_THIS, WEBDAV_DEPTH_THIS_AND_CHILDREN or WEBDAV_DEPTH_INFINITY |
flags |
a bit-or of WebDAVListFlags, claiming what properties to read |
out_resources |
return location for the resources |
cancellable |
optional Cancellable object, or |
Returns:
Whether succeeded. |