enumerateImages

Enumerate images, skipping existing ones.

uint
enumerateImages
(
ref Appender!(RemoteImage[]) images
,
const JSONValue listJSON
,,
const size_t numImages
)

Parameters

images Appender!(RemoteImage[])

std.array.Appender containing references to all images to download.

listJSON JSONValue

JSON list of images to download.

config Configuration

The current Configuration of all getopt values aggregated.

numImages size_t

The number of images to download, when specified as a lower number than the max by getopt.

Return Value

Type: uint

The number of images that should be downloaded.

Meta