gdav/sync_collection

Types

pub type RequestBuilder {
  RequestBuilder(collection_path: String, sync_token: String)
}

Constructors

  • RequestBuilder(collection_path: String, sync_token: String)
pub type SyncResult {
  SyncResult(
    changed: List(#(String, String)),
    deleted: List(String),
    sync_token: String,
  )
}

Constructors

  • SyncResult(
      changed: List(#(String, String)),
      deleted: List(String),
      sync_token: String,
    )

Values

pub fn build(
  builder: RequestBuilder,
  credentials: gdav.Credentials,
) -> request.Request(String)
pub fn request(
  collection_path: String,
  sync_token: String,
) -> RequestBuilder
pub fn response(
  res: response.Response(String),
) -> Result(SyncResult, gdav.DavError)
Search Document