downloader

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(host environment.HostActions, guest environment.GuestActions, url, fileName string) error

Download downloads file at url and saves it in the destination.

In the implementation, the file is downloaded (and cached) on the host, but copied to the desired destination for the guest. fileName must be a directory on the guest that does not require root access.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL