Liking cljdoc? Tell your friends :D

com.heavycomputation.cloudflare.internal.xml

Just enough XML to talk to S3: pull a tag's text out of a small response document and build the CompleteMultipartUpload request body.

This is deliberately not a general XML library. The documents S3 returns for the handful of operations we use are small, flat, and machine-generated, so a tag scan is enough and avoids a parser dependency.

Just enough XML to talk to S3: pull a tag's text out of a small response
document and build the CompleteMultipartUpload request body.

This is deliberately *not* a general XML library. The documents S3 returns
for the handful of operations we use are small, flat, and machine-generated,
so a tag scan is enough and avoids a parser dependency.
raw docstring

complete-multipart-uploadclj

(complete-multipart-upload parts)

Render a CompleteMultipartUpload request body from parts, a sequence of {:PartNumber n :ETag "…"} already sorted by part number. ETags are passed through verbatim (S3 expects the quoted value UploadPart returned).

Render a CompleteMultipartUpload request body from `parts`, a sequence of
`{:PartNumber n :ETag "…"}` already sorted by part number. ETags are passed
through verbatim (S3 expects the quoted value UploadPart returned).
raw docstring

delete-objectsclj

(delete-objects keys)

Render a DeleteObjects request body listing object keys.

Render a DeleteObjects request body listing object `keys`.
raw docstring

tag-blocksclj

(tag-blocks xml tag)

Raw inner XML of every <tag>…</tag> occurrence, in document order. Used to scope a nested parse — e.g. pull <Key> out of each <Contents> block in a listing — when the same child tag appears under several parents.

Raw inner XML of every `<tag>…</tag>` occurrence, in document order. Used to
scope a nested parse — e.g. pull `<Key>` out of each `<Contents>` block in a
listing — when the same child tag appears under several parents.
raw docstring

tag-textclj

(tag-text xml tag)

Text content of the first <tag>…</tag> in xml, unescaped, or nil if the tag is absent.

Text content of the first `<tag>…</tag>` in `xml`, unescaped, or nil if the
tag is absent.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close