# Functions
Download will take a downloader.Downloader as parameter.
DownloadFirmware downloads and returns the path on the local filesystem of a firmware.
DownloadIndex will download the index in the os temp directory.
DownloadSketch downloads and returns the path on the local filesystem of a sketch.
DownloadTool downloads and returns the path on the local filesystem of a tool.
VerifyChecksum is taken and adapted from https://github.com/arduino/arduino-cli/blob/59b6277a4d6731a1c1579d43aef6df2a46a771d5/arduino/resources/checksums.go.
VerifyFileChecksum checks if the passed checksum matches the passed file checksum.
VerifyFileSize is taken and adapted from https://github.com/arduino/arduino-cli/blob/59b6277a4d6731a1c1579d43aef6df2a46a771d5/arduino/resources/checksums.go.