Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("invalid file destination")
Functions ¶
func CreateDirs ¶
CreateDirs create directory. All non-existing nested paths will be created. The folder owner will also be changed to match the current user (on non-windows systems only)
func DownloadFile ¶ added in v2.40.0
func DownloadFile(u string, out io.WriteCloser) error
DownloadFile download a file from a public url
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.