downloader

package
v1.1.17 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(source *bytes.Reader, destinationPath string) error

func DownloadFile

func DownloadFile(url string) (*bytes.Reader, int64, error)

func Unzip

func Unzip(inputFile *bytes.Reader, size int64, outputPath string, ignoreSubdirs, ignoreCover bool) error

Types

type UnzipOptions

type UnzipOptions struct {
	IgnoreSubdirs bool
	IgnoreCover   bool
}

Jump to

Keyboard shortcuts

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