carddav: improve Client.SyncCollection docs

This commit is contained in:
Simon Ser 2022-05-24 10:20:08 +02:00
parent 757a615e9f
commit 38a35d3545

View File

@ -430,7 +430,8 @@ func (c *Client) PutAddressObject(path string, card vcard.Card) (*AddressObject,
return ao, nil return ao, nil
} }
// SyncCollection do a sync-collection operation on resource(path), it returns a SyncResponse // SyncCollection performs a collection synchronization operation on the
// specified resource, as defined in RFC 6578.
func (c *Client) SyncCollection(path string, query *SyncQuery) (*SyncResponse, error) { func (c *Client) SyncCollection(path string, query *SyncQuery) (*SyncResponse, error) {
var limit *internal.Limit var limit *internal.Limit
if query.Limit > 0 { if query.Limit > 0 {